feat(user-profile): wrap content in SafeArea for improved layout on different devices
This commit is contained in:
parent
a9067bd407
commit
e059ee71f3
@ -59,14 +59,20 @@ class _UserProfileBarState extends State<UserProfileBar>
|
||||
width: isCondensed ? 90 : 250,
|
||||
duration: const Duration(milliseconds: 300),
|
||||
curve: Curves.easeInOut,
|
||||
child: Column(
|
||||
children: [
|
||||
userProfileSection(),
|
||||
MySpacing.height(8),
|
||||
supportAndSettingsMenu(),
|
||||
const Spacer(),
|
||||
logoutButton(),
|
||||
],
|
||||
child: SafeArea(
|
||||
bottom: true,
|
||||
top: false,
|
||||
left: false,
|
||||
right: false,
|
||||
child: Column(
|
||||
children: [
|
||||
userProfileSection(),
|
||||
MySpacing.height(8),
|
||||
supportAndSettingsMenu(),
|
||||
const Spacer(),
|
||||
logoutButton(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user