Skip to content

Commit

Permalink
chore: update screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
lawnvi committed Apr 14, 2024
1 parent 5d91e15 commit c4cc0f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/helper/local.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ class LocalSetting {
}

Future<double> windowHeight() async {
return await getSPDefault(_windowHeight, 600.00);
return await getSPDefault(_windowHeight, 800.00);
}

Future<double> windowWidth() async {
return await getSPDefault(_windowWidth, 800.00);
return await getSPDefault(_windowWidth, 1200.00);
}

Future<void> setWindowHeight(double height) async {
Expand Down
2 changes: 1 addition & 1 deletion lib/socket/svrmanager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class WsSvrManager {
await _freeIoSink(sendFinish: true);
print("recv over file size: $_currentSize, check sending files size: ${_sendingFiles.length}");
if (_sendingFiles.isNotEmpty) {
_handleFileMsg(_sendingFiles.last);
await _handleFileMsg(_sendingFiles.last);
}
// fileMD5
}
Expand Down

0 comments on commit c4cc0f9

Please sign in to comment.