mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
Add wallpapers to start new chat pages
This commit is contained in:
parent
061d76bbab
commit
ad73ba775a
BIN
assets/new_group_wallpaper.png
Normal file
BIN
assets/new_group_wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
assets/private_chat_wallpaper.png
Normal file
BIN
assets/private_chat_wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
@ -95,6 +95,9 @@ class _NewGroupState extends State<_NewGroup> {
|
|||||||
value: publicGroup,
|
value: publicGroup,
|
||||||
onChanged: (bool b) => setState(() => publicGroup = b),
|
onChanged: (bool b) => setState(() => publicGroup = b),
|
||||||
),
|
),
|
||||||
|
Expanded(
|
||||||
|
child: Image.asset("assets/new_group_wallpaper.png"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
floatingActionButton: FloatingActionButton(
|
floatingActionButton: FloatingActionButton(
|
||||||
|
@ -228,6 +228,10 @@ class _NewPrivateChatState extends State<_NewPrivateChat> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Divider(height: 1),
|
Divider(height: 1),
|
||||||
|
if (foundProfiles.isEmpty || correctMxId)
|
||||||
|
Expanded(
|
||||||
|
child: Image.asset("assets/private_chat_wallpaper.png"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
floatingActionButton: FloatingActionButton(
|
floatingActionButton: FloatingActionButton(
|
||||||
|
@ -82,6 +82,8 @@ flutter:
|
|||||||
assets:
|
assets:
|
||||||
- assets/fluffychat-banner.png
|
- assets/fluffychat-banner.png
|
||||||
- assets/logo.png
|
- assets/logo.png
|
||||||
|
- assets/private_chat_wallpaper.png
|
||||||
|
- assets/new_group_wallpaper.png
|
||||||
# - images/a_dot_ham.jpeg
|
# - images/a_dot_ham.jpeg
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
|
Loading…
Reference in New Issue
Block a user