From d49715fb642e7a5fd2edee26cb03f6106a97a251 Mon Sep 17 00:00:00 2001 From: krawieck Date: Thu, 3 Sep 2020 13:43:51 +0200 Subject: [PATCH] Revert "Add `Page` suffix to `Settings`" This reverts commit b5277064a3300ca4795b3ee19de524b0b01f8920. --- lib/pages/profile_tab.dart | 2 +- lib/pages/settings.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/profile_tab.dart b/lib/pages/profile_tab.dart index d05ce37..9a6e7d4 100644 --- a/lib/pages/profile_tab.dart +++ b/lib/pages/profile_tab.dart @@ -53,7 +53,7 @@ class UserProfileTab extends HookWidget { ), onPressed: () { Navigator.of(context) - .push(MaterialPageRoute(builder: (_) => SettingsPage())); + .push(MaterialPageRoute(builder: (_) => Settings())); }, ) ], diff --git a/lib/pages/settings.dart b/lib/pages/settings.dart index a030088..adb62a1 100644 --- a/lib/pages/settings.dart +++ b/lib/pages/settings.dart @@ -4,7 +4,7 @@ import 'package:provider/provider.dart'; import '../stores/config_store.dart'; -class SettingsPage extends StatelessWidget { +class Settings extends StatelessWidget { @override Widget build(BuildContext context) { var theme = Theme.of(context);