chore: Add new start chat image

This commit is contained in:
Krille Fear 2022-12-25 10:45:13 +01:00
commit e04730c904
11 changed files with 55 additions and 38 deletions

View file

@ -35,12 +35,16 @@ class NewGroupView extends StatelessWidget {
),
),
SwitchListTile.adaptive(
secondary: const Icon(Icons.public_outlined),
title: Text(L10n.of(context)!.groupIsPublic),
value: controller.publicGroup,
onChanged: controller.setPublicGroup,
),
Expanded(
child: Image.asset('assets/private_chat_wallpaper.png'),
SwitchListTile.adaptive(
secondary: const Icon(Icons.lock_outlined),
title: Text(L10n.of(context)!.enableEncryption),
value: !controller.publicGroup,
onChanged: null,
),
],
),