Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	lib/app/mobile/controller/settings/mobile_sync_password_settings_controller.dart
#	lib/service/crypt/crypt_service.dart
#	pubspec.lock
  • Loading branch information
lyming99 committed May 6, 2024
2 parents 81ef06d + bd87453 commit dca89ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class AppController extends MvcController {
void onInitState(fluent.BuildContext context) {
super.onInitState(context);
try {
FlutterDisplayMode.setHighRefreshRate();
if(Platform.isAndroid) {
FlutterDisplayMode.setHighRefreshRate();
}
} catch (e) {
print(e);
}
Expand Down
2 changes: 2 additions & 0 deletions lib/service/sync/impl/record_sync_service_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ class RecordSyncServiceImpl extends RecordSyncService {
updateTime: e.updateTime,
deleted: e.deleted,
hasUpload: e.hasUpload,
securityVersion:
serviceManager.cryptService.getCurrentPassword()?.version,
))
.toList();
}
Expand Down
3 changes: 3 additions & 0 deletions lib/service/user/user_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ class UserService with ChangeNotifier {
if (noteServer == null) {
return null;
}
if(kDebugMode){
return "http://127.0.0.1:9898";
}
return "http://${noteServer.host}:${noteServer.port}";
}

Expand Down

0 comments on commit dca89ee

Please sign in to comment.