mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-01 20:43:20 +08:00
Settings: Use a switch instead of a checkbox
Follows the Material Design scheme better
This commit is contained in:
@ -358,7 +358,7 @@ class BoolPreference extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
title: Text(title),
|
||||
trailing: Checkbox(
|
||||
trailing: Switch(
|
||||
value: defaultValue,
|
||||
onChanged: onChange,
|
||||
),
|
||||
|
Reference in New Issue
Block a user