mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 03:05:14 +00:00
Add wallpapers to start new chat pages
This commit is contained in:
parent
061d76bbab
commit
ad73ba775a
5 changed files with 9 additions and 0 deletions
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,
|
||||
onChanged: (bool b) => setState(() => publicGroup = b),
|
||||
),
|
||||
Expanded(
|
||||
child: Image.asset("assets/new_group_wallpaper.png"),
|
||||
),
|
||||
],
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue