uwu toggle in settings

This commit is contained in:
Kima
2024-03-21 22:49:47 +01:00
parent ffbcefacbd
commit d984ee0a42
2 changed files with 27 additions and 4 deletions

View File

@@ -673,6 +673,29 @@ class SettingsScreenState extends State<SettingsScreen>
// ),
],
),
// uwu mode
SplittedPanel(
cardPadding: const EdgeInsets.all(4.0),
padding: EdgeInsets.zero,
children: [
// uwu mode
Material(
type: MaterialType.transparency,
child: SwitchListTile(
contentPadding:
const EdgeInsets.only(left: 12.0, right: 6.0),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0)),
title: Text("uwufymode".i18n,
style:
const TextStyle(fontWeight: FontWeight.w500)),
onChanged: (v) => settings.update(uwuMode: v),
value: settings.uwuMode,
activeColor: Theme.of(context).colorScheme.secondary,
),
),
],
),
],
),