mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
fix(ui): Fix hero icon position on mobile screens with cutouts
This commit is contained in:
parent
8775f35c0d
commit
2c11bf777d
|
@ -183,12 +183,14 @@ class _HeroSliverAppBarState extends State<HeroSliverAppBar> {
|
|||
bottom: 12.0,
|
||||
top: 16.0,
|
||||
),
|
||||
background: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 72.0),
|
||||
if (widget.hasHeroIcon) widget.heroIconWidget,
|
||||
],
|
||||
background: SafeArea(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 72.0),
|
||||
if (widget.hasHeroIcon) widget.heroIconWidget,
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue