Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix banner position

AmanRajSinghMourya05ad03aafe26
diff --git a/mobile/apps/locker/lib/ui/components/legacy_setup_banner.dart b/mobile/apps/locker/lib/ui/components/legacy_setup_banner.dart
index bf8a565054..7d12927139 100644
--- a/mobile/apps/locker/lib/ui/components/legacy_setup_banner.dart
+++ b/mobile/apps/locker/lib/ui/components/legacy_setup_banner.dart
@@ -135,8 +135,8 @@ class _LegacySetupBannerState extends State<LegacySetupBanner> {
child: Stack(
children: [
Positioned(
- right: -8,
- bottom: -8,
+ right: 24,
+ bottom: -12,
child: IgnorePointer(
child: Image.asset(
"assets/legacy_banner.png",
@@ -173,15 +173,22 @@ class _LegacySetupBannerState extends State<LegacySetupBanner> {
),
),
Positioned(
- top: 18,
+ top: 20,
right: 16,
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: _onDismiss,
- child: HugeIcon(
- icon: HugeIcons.strokeRoundedCancel01,
- color: colors.specialWhite,
- size: 18,
+ child: SizedBox(
+ width: 32,
+ height: 32,
+ child: Align(
+ alignment: Alignment.centerRight,
+ child: HugeIcon(
+ icon: HugeIcons.strokeRoundedCancel01,
+ color: colors.specialWhite,
+ size: 18,
+ ),
+ ),
),
),
),