Add wallpapers to start new chat pages

This commit is contained in:
Christian Pauly 2020-02-09 17:19:07 +01:00
parent 061d76bbab
commit ad73ba775a
5 changed files with 9 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -95,6 +95,9 @@ class _NewGroupState extends State<_NewGroup> {
value: publicGroup,
onChanged: (bool b) => setState(() => publicGroup = b),
),
Expanded(
child: Image.asset("assets/new_group_wallpaper.png"),
),
],
),
floatingActionButton: FloatingActionButton(

View file

@ -228,6 +228,10 @@ class _NewPrivateChatState extends State<_NewPrivateChat> {
),
),
Divider(height: 1),
if (foundProfiles.isEmpty || correctMxId)
Expanded(
child: Image.asset("assets/private_chat_wallpaper.png"),
),
],
),
floatingActionButton: FloatingActionButton(

View file

@ -82,6 +82,8 @@ flutter:
assets:
- assets/fluffychat-banner.png
- assets/logo.png
- assets/private_chat_wallpaper.png
- assets/new_group_wallpaper.png
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see