mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	design: Nicer first loading design
This commit is contained in:
		
							parent
							
								
									43ab216714
								
							
						
					
					
						commit
						3993984a2b
					
				@ -1233,6 +1233,11 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "yourChatsAreBeingSynced": "Your chats are being synced...",
 | 
			
		||||
  "@yourChatsAreBeingSynced": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "pleaseChoose": "Please choose",
 | 
			
		||||
  "@pleaseChoose": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 36 KiB  | 
@ -214,7 +214,20 @@ class ChatListView extends StatelessWidget {
 | 
			
		||||
                                );
 | 
			
		||||
                              } else {
 | 
			
		||||
                                return Center(
 | 
			
		||||
                                  child: CircularProgressIndicator(),
 | 
			
		||||
                                  child: Column(
 | 
			
		||||
                                    mainAxisSize: MainAxisSize.min,
 | 
			
		||||
                                    children: [
 | 
			
		||||
                                      Image.asset(
 | 
			
		||||
                                        'assets/private_chat_wallpaper.png',
 | 
			
		||||
                                        width: 100,
 | 
			
		||||
                                      ),
 | 
			
		||||
                                      Text(
 | 
			
		||||
                                        L10n.of(context)
 | 
			
		||||
                                            .yourChatsAreBeingSynced,
 | 
			
		||||
                                        textAlign: TextAlign.center,
 | 
			
		||||
                                      ),
 | 
			
		||||
                                    ],
 | 
			
		||||
                                  ),
 | 
			
		||||
                                );
 | 
			
		||||
                              }
 | 
			
		||||
                            },
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,7 @@ class NewGroupView extends StatelessWidget {
 | 
			
		||||
              onChanged: controller.setPublicGroup,
 | 
			
		||||
            ),
 | 
			
		||||
            Expanded(
 | 
			
		||||
              child: Image.asset('assets/new_group_wallpaper.png'),
 | 
			
		||||
              child: Image.asset('assets/private_chat_wallpaper.png'),
 | 
			
		||||
            ),
 | 
			
		||||
          ],
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
@ -48,10 +48,11 @@ class _ConnectionStatusHeaderState extends State<ConnectionStatusHeader> {
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
    return AnimatedContainer(
 | 
			
		||||
      duration: Duration(milliseconds: 300),
 | 
			
		||||
      duration: Duration(milliseconds: 250),
 | 
			
		||||
      curve: Curves.bounceInOut,
 | 
			
		||||
      height: _connected ? 0 : 36,
 | 
			
		||||
      clipBehavior: Clip.hardEdge,
 | 
			
		||||
      decoration: BoxDecoration(),
 | 
			
		||||
      decoration: BoxDecoration(color: Theme.of(context).secondaryHeaderColor),
 | 
			
		||||
      padding: EdgeInsets.symmetric(horizontal: 12),
 | 
			
		||||
      child: Row(
 | 
			
		||||
        mainAxisAlignment: MainAxisAlignment.center,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user