mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 11:05:10 +00:00
chore: Minor design fixes
This commit is contained in:
parent
1584a3a3a5
commit
964a42edf5
3 changed files with 8 additions and 3 deletions
|
@ -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 a new issue