Commit ef4607c

derdilla <82763757+NobodyForNothing@users.noreply.github.com>
2023-12-26 10:00:43
add bottom bars settings tile
Signed-off-by: derdilla <82763757+NobodyForNothing@users.noreply.github.com>
1 parent a312f13
Changed files (2)
lib/l10n/app_en.arb
@@ -486,5 +486,7 @@
   "timeFormat": "Time format",
   "@timeFormat": {},
   "errAccuracyLoss": "There is precision loss expected when exporting with custom time formatters.",
-  "@errAccuracyLoss": {}
+  "@errAccuracyLoss": {},
+  "bottomAppBars": "Bottom dialoge bars",
+  "@bottomAppBars": {}
 }
lib/screens/settings_screen.dart
@@ -256,6 +256,14 @@ class SettingsPage extends StatelessWidget {
                   settings.startWithAddMeasurementPage = value;
                 }
               ),
+              SwitchListTile(
+                  title: Text(localizations.bottomAppBars),
+                  secondary: const Icon(Icons.vertical_align_bottom),
+                  value: settings.bottomAppBars,
+                  onChanged: (value) {
+                    settings.bottomAppBars = value;
+                  }
+              ),
             ]),
             TitledColumn(
               title: Text(localizations.data),