diff --git a/lib/app.dart b/lib/app.dart index 3851fcdcc..aa7971e26 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -71,6 +71,7 @@ class MyApp extends StatelessWidget { ...AppLocalizations.localizationsDelegates, ], supportedLocales: AppLocalizations.supportedLocales, + localeListResolutionCallback: LocaleUtil.resolve, title: BuildData.name, themeMode: themeMode, theme: light, diff --git a/lib/view/page/home/home.dart b/lib/view/page/home/home.dart index fd45d7ccd..be90f1554 100644 --- a/lib/view/page/home/home.dart +++ b/lib/view/page/home/home.dart @@ -1,6 +1,5 @@ import 'dart:convert'; -import 'package:after_layout/after_layout.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; diff --git a/lib/view/page/home/wear.dart b/lib/view/page/home/wear.dart index f9f21bf6b..513a2f865 100644 --- a/lib/view/page/home/wear.dart +++ b/lib/view/page/home/wear.dart @@ -1,6 +1,5 @@ import 'dart:async'; -import 'package:after_layout/after_layout.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/view/page/private_key/list.dart b/lib/view/page/private_key/list.dart index 585cfccf5..57f9a56c3 100644 --- a/lib/view/page/private_key/list.dart +++ b/lib/view/page/private_key/list.dart @@ -1,6 +1,6 @@ import 'dart:io'; import 'dart:async'; -import 'package:after_layout/after_layout.dart'; + import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/view/page/server/tab.dart b/lib/view/page/server/tab.dart index f5211893c..fab8d657e 100644 --- a/lib/view/page/server/tab.dart +++ b/lib/view/page/server/tab.dart @@ -1,7 +1,6 @@ import 'dart:async'; import 'dart:math' as math; -import 'package:after_layout/after_layout.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; import 'package:icons_plus/icons_plus.dart'; diff --git a/lib/view/page/snippet/edit.dart b/lib/view/page/snippet/edit.dart index aa36569c6..fdd395826 100644 --- a/lib/view/page/snippet/edit.dart +++ b/lib/view/page/snippet/edit.dart @@ -1,4 +1,3 @@ -import 'package:after_layout/after_layout.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; diff --git a/lib/view/page/ssh/page.dart b/lib/view/page/ssh/page.dart index d9fabc9ca..86d6354af 100644 --- a/lib/view/page/ssh/page.dart +++ b/lib/view/page/ssh/page.dart @@ -1,7 +1,6 @@ import 'dart:async'; import 'dart:convert'; -import 'package:after_layout/after_layout.dart'; import 'package:dartssh2/dartssh2.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; diff --git a/lib/view/page/storage/sftp.dart b/lib/view/page/storage/sftp.dart index 8fca91057..5bc759364 100644 --- a/lib/view/page/storage/sftp.dart +++ b/lib/view/page/storage/sftp.dart @@ -1,6 +1,5 @@ import 'dart:async'; -import 'package:after_layout/after_layout.dart'; import 'package:dartssh2/dartssh2.dart'; import 'package:fl_lib/fl_lib.dart'; import 'package:flutter/material.dart'; diff --git a/pubspec.lock b/pubspec.lock index 4e03f52d9..0eb6634d8 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -9,14 +9,6 @@ packages: url: "https://pub.dev" source: hosted version: "67.0.0" - after_layout: - dependency: "direct main" - description: - name: after_layout - sha256: "95a1cb2ca1464f44f14769329fbf15987d20ab6c88f8fc5d359bd362be625f29" - url: "https://pub.dev" - source: hosted - version: "1.2.0" analyzer: dependency: transitive description: @@ -393,8 +385,8 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.0.40" - resolved-ref: "1f547b45bc9083558ee88eafa61df92eb0abf552" + ref: "v1.0.44" + resolved-ref: "34a8ec3c66594feaa417043cf2173fa7a1cf9b81" url: "https://github.com/lppcg/fl_lib" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index 6ca94a862..7ab548ef9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -14,7 +14,6 @@ dependencies: provider: ^6.0.0 hive_flutter: ^1.1.0 dio: ^5.2.1 - after_layout: ^1.1.0 easy_isolate: ^1.3.0 intl: ^0.19.0 highlight: ^0.7.0 @@ -59,7 +58,7 @@ dependencies: fl_lib: git: url: https://github.com/lppcg/fl_lib - ref: v1.0.40 + ref: v1.0.44 dependency_overrides: # dartssh2: