Skip to content

Commit

Permalink
chore: lib vers bump (#420)
Browse files Browse the repository at this point in the history
Fixes #419
  • Loading branch information
lollipopkit authored Jun 25, 2024
1 parent 1462b2d commit 5339cfc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 71 deletions.
64 changes: 0 additions & 64 deletions lib/core/utils/window_size_listener.dart

This file was deleted.

7 changes: 3 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:flutter_displaymode/flutter_displaymode.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:logging/logging.dart';
import 'package:provider/provider.dart';
import 'package:server_box/core/utils/window_size_listener.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:server_box/app.dart';
import 'package:server_box/core/utils/sync/icloud.dart';
Expand Down Expand Up @@ -69,12 +68,12 @@ Future<void> _initApp() async {
await _initData();
_setupDebug();

final windowSize = Stores.setting.windowSize.fetch().toSize();
final windowSize = Stores.setting.windowSize;
final hideTitleBar = Stores.setting.hideTitleBar.fetch();
SystemUIs.initDesktopWindow(
hideTitleBar: hideTitleBar,
size: windowSize,
listener: WindowSizeListener.instance,
size: windowSize.fetch().toSize(),
listener: WindowSizeListener(windowSize),
);
FontUtils.loadFrom(Stores.setting.fontPath.fetch());

Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "v1.0.49"
resolved-ref: "85ae5cfeba1c8a959e0bd83b7e1eff5edc572ab9"
ref: "v1.0.50"
resolved-ref: fc4e847cc0513157b6ac77e9e82ab57edbdc9482
url: "https://github.com/lppcg/fl_lib"
source: git
version: "0.0.1"
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dependencies:
fl_lib:
git:
url: https://github.com/lppcg/fl_lib
ref: v1.0.49
ref: v1.0.50

dependency_overrides:
# dartssh2:
Expand Down

0 comments on commit 5339cfc

Please sign in to comment.