Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/chore/ddw-427-issues-on-redeem-r…
Browse files Browse the repository at this point in the history
…ewards-screen' into chore/ddw-427-issues-on-redeem-rewards-screen
  • Loading branch information
DeeJayElly committed Dec 2, 2020
2 parents e238eac + ae3839b commit 3b2df6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ Changelog
### Fixes

- Fixed error message and validation on redeem rewards screen ([PR 2220](https://github.com/input-output-hk/daedalus/pull/2220))
- Fixed empty disk space calculation for some Linux distributions ([PR 2258](https://github.com/input-output-hk/daedalus/pull/2258))
- Fixed the overlap of the "X" button in the stake pools search box ([PR 2251](https://github.com/input-output-hk/daedalus/pull/2251))

## 2.5.0
Expand Down
1 change: 0 additions & 1 deletion source/main/config.js
Expand Up @@ -125,7 +125,6 @@ export const {
export const appLogsFolderPath = logsPrefix;
export const pubLogsFolderPath = path.join(appLogsFolderPath, 'pub');
export const stateDirectoryPath = stateDir;
export const stateDrive = isWindows ? stateDirectoryPath.slice(0, 2) : '/';
export const buildLabel = getBuildLabel(
build,
network,
Expand Down
4 changes: 2 additions & 2 deletions source/main/utils/handleDiskSpace.js
Expand Up @@ -11,7 +11,7 @@ import {
DISK_SPACE_CHECK_MEDIUM_INTERVAL,
DISK_SPACE_CHECK_SHORT_INTERVAL,
DISK_SPACE_RECOMMENDED_PERCENTAGE,
stateDrive,
stateDirectoryPath,
} from '../config';

export const handleDiskSpace = (
Expand All @@ -28,7 +28,7 @@ export const handleDiskSpace = (
const {
free: diskSpaceAvailable,
size: diskTotalSpace,
} = await checkDiskSpace(stateDrive);
} = await checkDiskSpace(stateDirectoryPath);
const diskSpaceMissing = Math.max(
diskSpaceRequired - diskSpaceAvailable,
0
Expand Down

0 comments on commit 3b2df6e

Please sign in to comment.