Skip to content

Commit

Permalink
fixes #572
Browse files Browse the repository at this point in the history
  • Loading branch information
aza547 committed Dec 19, 2024
1 parent 46c56f6 commit f0018c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Issue 566](https://github.com/aza547/wow-recorder/issues/566) - Add Korean translations.

### Fixed
- [Issue 572](https://github.com/aza547/wow-recorder/issues/572) - Fix upload bug.
- Stop upload/download trackers flickering on 0%.

## [6.3.0] - 2024-12-12
### Changed
Expand All @@ -23,7 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add difficulty IDs for Classic Era Phase 6 raids.


## [6.2.1] - 2024-12-08
### Fixed
- Fix a bug where Classic Era was not recording.
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/containers/ApplicationStatusCard/Status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const Status = ({
clearTimeout(clearUploadProgressTimer.current);
}

if (!progress || progress === 100) {
if (progress === null || progress === undefined || progress === 100) {
clearUploadProgressTimer.current = setTimeout(
() => setUploadProgress(false),
1000
Expand All @@ -308,7 +308,7 @@ const Status = ({
clearTimeout(clearDownloadProgressTimer.current);
}

if (!progress || progress === 100) {
if (progress === null || progress === undefined || progress === 100) {
clearDownloadProgressTimer.current = setTimeout(
() => setDownloadProgress(false),
1000
Expand Down
2 changes: 1 addition & 1 deletion src/storage/CloudClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ export default class CloudClient extends EventEmitter {

const stream = fs.createReadStream(file, {
start: offset,
end: offset + bytes,
end: offset + bytes - 1,
});

try {
Expand Down

0 comments on commit f0018c6

Please sign in to comment.