design: Adaptive switches
This commit is contained in:
parent
bc767da271
commit
956ee5bfc6
8 changed files with 17 additions and 19 deletions
|
|
@ -34,7 +34,7 @@ class NewGroupView extends StatelessWidget {
|
|||
hintText: L10n.of(context).enterAGroupName),
|
||||
),
|
||||
),
|
||||
SwitchListTile(
|
||||
SwitchListTile.adaptive(
|
||||
title: Text(L10n.of(context).groupIsPublic),
|
||||
value: controller.publicGroup,
|
||||
onChanged: controller.setPublicGroup,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue