mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
feat: Move styles one settings level up
This commit is contained in:
parent
f03cc9b786
commit
cc00032c10
@ -271,6 +271,11 @@ class AppRoutes {
|
|||||||
widget: const SettingsNotifications(),
|
widget: const SettingsNotifications(),
|
||||||
buildTransition: _dynamicTransition,
|
buildTransition: _dynamicTransition,
|
||||||
),
|
),
|
||||||
|
VWidget(
|
||||||
|
path: 'style',
|
||||||
|
widget: const SettingsStyle(),
|
||||||
|
buildTransition: _dynamicTransition,
|
||||||
|
),
|
||||||
VWidget(
|
VWidget(
|
||||||
path: 'chat',
|
path: 'chat',
|
||||||
widget: const SettingsChat(),
|
widget: const SettingsChat(),
|
||||||
@ -281,11 +286,6 @@ class AppRoutes {
|
|||||||
widget: const EmotesSettings(),
|
widget: const EmotesSettings(),
|
||||||
buildTransition: _dynamicTransition,
|
buildTransition: _dynamicTransition,
|
||||||
),
|
),
|
||||||
VWidget(
|
|
||||||
path: 'style',
|
|
||||||
widget: const SettingsStyle(),
|
|
||||||
buildTransition: _dynamicTransition,
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
VWidget(
|
VWidget(
|
||||||
|
@ -38,6 +38,11 @@ class SettingsView extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
body: ListView(
|
body: ListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
ListTile(
|
||||||
|
title: Text(L10n.of(context).changeTheme),
|
||||||
|
onTap: () => VRouter.of(context).to('/settings/style'),
|
||||||
|
leading: const Icon(Icons.format_paint_outlined),
|
||||||
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.notifications_outlined),
|
leading: const Icon(Icons.notifications_outlined),
|
||||||
title: Text(L10n.of(context).notifications),
|
title: Text(L10n.of(context).notifications),
|
||||||
|
@ -22,11 +22,6 @@ class SettingsChatView extends StatelessWidget {
|
|||||||
withScrolling: true,
|
withScrolling: true,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
ListTile(
|
|
||||||
title: Text(L10n.of(context).changeTheme),
|
|
||||||
onTap: () => VRouter.of(context).to('style'),
|
|
||||||
trailing: const Icon(Icons.style_outlined),
|
|
||||||
),
|
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text(L10n.of(context).emoteSettings),
|
title: Text(L10n.of(context).emoteSettings),
|
||||||
onTap: () => VRouter.of(context).to('emotes'),
|
onTap: () => VRouter.of(context).to('emotes'),
|
||||||
|
Loading…
Reference in New Issue
Block a user