mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-03 03:36:23 -04:00
ui cleanup
This commit is contained in:
parent
1f99279cd2
commit
23ec185324
26 changed files with 419 additions and 244 deletions
|
@ -22,7 +22,7 @@ List<DropdownMenuItem<dynamic>> _getBrightnessDropdownItems() {
|
|||
}
|
||||
|
||||
Widget buildSettingsPageBrightnessPreferences(
|
||||
{required void Function() onChanged}) {
|
||||
{required BuildContext context, required void Function() onChanged}) {
|
||||
final preferencesRepository = PreferencesRepository.instance;
|
||||
final themePreferences = preferencesRepository.value.themePreferences;
|
||||
return ThemeSwitcher.withTheme(
|
||||
|
|
|
@ -30,7 +30,8 @@ List<DropdownMenuItem<dynamic>> _getThemeDropdownItems() {
|
|||
.toList();
|
||||
}
|
||||
|
||||
Widget buildSettingsPageColorPreferences({required void Function() onChanged}) {
|
||||
Widget buildSettingsPageColorPreferences(
|
||||
{required BuildContext context, required void Function() onChanged}) {
|
||||
final preferencesRepository = PreferencesRepository.instance;
|
||||
final themePreferences = preferencesRepository.value.themePreferences;
|
||||
return ThemeSwitcher.withTheme(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue