mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
chore: Minor design fixes
This commit is contained in:
parent
d41b581578
commit
caab1b450a
@ -113,7 +113,9 @@ class ChatListView extends StatelessWidget {
|
||||
),
|
||||
)
|
||||
: null,
|
||||
bottomNavigationBar: const ConnectionStatusHeader(),
|
||||
bottomNavigationBar: const SafeArea(
|
||||
child: ConnectionStatusHeader(),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
@ -48,8 +48,10 @@ class NewPrivateChatView extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: Material(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
elevation: 4,
|
||||
elevation: 6,
|
||||
color: Colors.white,
|
||||
shadowColor: const Color(0x44000000),
|
||||
clipBehavior: Clip.hardEdge,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
|
@ -50,7 +50,7 @@ class _ConnectionStatusHeaderState extends State<ConnectionStatusHeader> {
|
||||
curve: Curves.bounceInOut,
|
||||
height: hide ? 0 : 36,
|
||||
clipBehavior: Clip.hardEdge,
|
||||
decoration: BoxDecoration(color: Theme.of(context).secondaryHeaderColor),
|
||||
decoration: BoxDecoration(color: Theme.of(context).colorScheme.surface),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
@ -68,6 +68,7 @@ class _ConnectionStatusHeaderState extends State<ConnectionStatusHeader> {
|
||||
_status.toLocalizedString(context),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.onSurface),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user