android fix:protobuf 3.1.0

This commit is contained in:
csf committed 2022-07-17 16:47:19 +08:00
1 parent 88fef77980
commit f587bdee5a
3 files changed
+37 -53

No files matched your search

+1 -14
View File
@@ -146,13 +146,7 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
leading: Icon(Icons.cloud),
onPressed: (context) {
showServerSettings();
}),
SettingsTile.navigation(
title: Text(translate('Language')),
leading: Icon(Icons.translate),
onPressed: (context) {
showLanguageSettings();
}),
})
]),
SettingsSection(
title: Text(translate("Enhancements")),
@@ -191,13 +185,6 @@ void showServerSettings() {
showServerSettingsWithValue(id, relay, key, api);
}
void showLanguageSettings() {
try {
final langs = json.decode(FFI.getByName('langs')) as Map<String, String>;
debugPrint("langs:$langs");
} catch (e) {}
}
void showAbout() {
DialogManager.show((setState, close) {
return CustomAlertDialog(