WT1.1.22+5 matic events

This commit is contained in:
bossanyit
2021-09-05 22:11:45 +02:00
parent e34add8185
commit 4e9afbd4b3
12 changed files with 67 additions and 49 deletions
+2
View File
@@ -116,6 +116,8 @@ class SettingsPage extends StatelessWidget with Trans {
inactiveFgColor: Colors.grey[900],
labels: [t('Live-Server'), t('Test-Server')],
onToggle: (index) {
final String live = index == 0 ? "live" : "test";
print("Server setting to: $live");
settingsBloc.add(SettingsSetServer(live: index == 0));
},
),