Skip to content

Commit

Permalink
Android - default to English (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit authored Jun 18, 2024
1 parent 161f536 commit c9a2c1d
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 19 deletions.
1 change: 1 addition & 0 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class MyApp extends StatelessWidget {
...AppLocalizations.localizationsDelegates,
],
supportedLocales: AppLocalizations.supportedLocales,
localeListResolutionCallback: LocaleUtil.resolve,
title: BuildData.name,
themeMode: themeMode,
theme: light,
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/home/home.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/home/wear.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion lib/view/page/private_key/list.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/server/tab.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/snippet/edit.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/ssh/page.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion lib/view/page/storage/sftp.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
12 changes: 2 additions & 10 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c9a2c1d

Please sign in to comment.