feat: Move styles one settings level up

This commit is contained in:
Krille Fear 2021-11-13 20:44:47 +01:00
commit a5c88479af
3 changed files with 10 additions and 10 deletions

View file

@ -38,6 +38,11 @@ class SettingsView extends StatelessWidget {
],
body: ListView(
children: <Widget>[
ListTile(
title: Text(L10n.of(context).changeTheme),
onTap: () => VRouter.of(context).to('/settings/style'),
leading: const Icon(Icons.format_paint_outlined),
),
ListTile(
leading: const Icon(Icons.notifications_outlined),
title: Text(L10n.of(context).notifications),

View file

@ -22,11 +22,6 @@ class SettingsChatView extends StatelessWidget {
withScrolling: true,
child: Column(
children: [
ListTile(
title: Text(L10n.of(context).changeTheme),
onTap: () => VRouter.of(context).to('style'),
trailing: const Icon(Icons.style_outlined),
),
ListTile(
title: Text(L10n.of(context).emoteSettings),
onTap: () => VRouter.of(context).to('emotes'),