Skip to content

armgit / ente

Public Imported from GitHub
0

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

Minor UI fixes

AmanRajSinghMouryaa4aa4d2bf17a
diff --git a/mobile/apps/locker/assets/2.0x/warning-red.png b/mobile/apps/locker/assets/2.0x/warning-red.png
new file mode 100644
index 0000000000..319b72c527
Binary files /dev/null and b/mobile/apps/locker/assets/2.0x/warning-red.png differ
diff --git a/mobile/apps/locker/assets/3.0x/warning-red.png b/mobile/apps/locker/assets/3.0x/warning-red.png
new file mode 100644
index 0000000000..24f78ced23
Binary files /dev/null and b/mobile/apps/locker/assets/3.0x/warning-red.png differ
diff --git a/mobile/apps/locker/assets/warning-red.png b/mobile/apps/locker/assets/warning-red.png
new file mode 100644
index 0000000000..95674312c8
Binary files /dev/null and b/mobile/apps/locker/assets/warning-red.png differ
diff --git a/mobile/packages/legacy/lib/components/alert_bottom_sheet.dart b/mobile/packages/legacy/lib/components/alert_bottom_sheet.dart
index fcccb48a78..6782c2608e 100644
--- a/mobile/packages/legacy/lib/components/alert_bottom_sheet.dart
+++ b/mobile/packages/legacy/lib/components/alert_bottom_sheet.dart
@@ -42,8 +42,7 @@ class AlertBottomSheet<T> extends StatelessWidget {
return Container(
decoration: BoxDecoration(
- color: colorScheme.backdropBase,
- border: Border(top: BorderSide(color: colorScheme.strokeFaint)),
+ color: colorScheme.backgroundElevated2,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(24),
topRight: Radius.circular(24),
@@ -98,12 +97,12 @@ class AlertBottomSheet<T> extends StatelessWidget {
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
- color: colorScheme.backgroundElevated,
+ color: colorScheme.fillFaint,
),
padding: const EdgeInsets.all(8),
child: Icon(
Icons.close,
- size: 24,
+ size: 20,
color: colorScheme.textBase,
),
),
diff --git a/mobile/packages/legacy/lib/components/trusted_contact_bottom_sheet.dart b/mobile/packages/legacy/lib/components/trusted_contact_bottom_sheet.dart
index cc083376db..db1ab2183e 100644
--- a/mobile/packages/legacy/lib/components/trusted_contact_bottom_sheet.dart
+++ b/mobile/packages/legacy/lib/components/trusted_contact_bottom_sheet.dart
@@ -198,9 +198,9 @@ class _TrustedContactBottomSheetState extends State<TrustedContactBottomSheet> {
child: Text(
label,
style: textTheme.bodyBold.copyWith(
- color: colorScheme.warning700,
+ color: colorScheme.warning400,
decoration: TextDecoration.underline,
- decorationColor: colorScheme.warning700,
+ decorationColor: colorScheme.warning400,
),
),
),
diff --git a/mobile/packages/legacy/lib/pages/emergency_page.dart b/mobile/packages/legacy/lib/pages/emergency_page.dart
index 43cdf34de9..902de6a3a4 100644
--- a/mobile/packages/legacy/lib/pages/emergency_page.dart
+++ b/mobile/packages/legacy/lib/pages/emergency_page.dart
@@ -94,7 +94,7 @@ class _EmergencyPageState extends State<EmergencyPage> {
slivers: [
SliverToBoxAdapter(
child: Padding(
- padding: const EdgeInsets.all(16.0),
+ padding: const EdgeInsets.symmetric(horizontal: 16),
child: TitleBarTitleWidget(
title: context.strings.legacy,
),
@@ -501,7 +501,7 @@ class _EmergencyPageState extends State<EmergencyPage> {
backgroundColor: colorScheme.primary700,
onTap: () => Navigator.of(context).pop("accept"),
),
- const SizedBox(height: 16),
+ const SizedBox(height: 20),
Center(
child: GestureDetector(
onTap: () => Navigator.of(context).pop("decline"),
@@ -599,7 +599,7 @@ class _WarningBanner extends StatelessWidget {
),
child: Row(
children: [
- Image.asset("assets/warning-grey.png", width: 20, height: 20),
+ Image.asset("assets/warning-red.png", width: 20, height: 20),
const SizedBox(width: 16),
Expanded(
child: Text(
diff --git a/mobile/packages/legacy/lib/pages/other_contact_page.dart b/mobile/packages/legacy/lib/pages/other_contact_page.dart
index f71633ba75..fa1afa85a1 100644
--- a/mobile/packages/legacy/lib/pages/other_contact_page.dart
+++ b/mobile/packages/legacy/lib/pages/other_contact_page.dart
@@ -203,7 +203,7 @@ class _OtherContactPageState extends State<OtherContactPage> {
),
if (recoverySession != null &&
recoverySession!.status == "READY") ...[
- const SizedBox(height: 16),
+ const SizedBox(height: 20),
Center(
child: GestureDetector(
onTap: () => _showCancelRecoverySheet(),
@@ -233,7 +233,7 @@ class _OtherContactPageState extends State<OtherContactPage> {
],
if (recoverySession == null ||
recoverySession!.status != "READY") ...[
- const SizedBox(height: 16),
+ const SizedBox(height: 20),
Center(
child: GestureDetector(
onTap: () async {
diff --git a/mobile/packages/legacy/lib/pages/select_contact_page.dart b/mobile/packages/legacy/lib/pages/select_contact_page.dart
index a48c346174..05e70fb416 100644
--- a/mobile/packages/legacy/lib/pages/select_contact_page.dart
+++ b/mobile/packages/legacy/lib/pages/select_contact_page.dart
@@ -405,8 +405,7 @@ class _AddContactBottomSheetState extends State<AddContactBottomSheet> {
builder: (context) {
return Container(
decoration: BoxDecoration(
- color: colorScheme.backdropBase,
- border: Border(top: BorderSide(color: colorScheme.strokeFaint)),
+ color: colorScheme.backgroundElevated2,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(24),
topRight: Radius.circular(24),
@@ -429,12 +428,12 @@ class _AddContactBottomSheetState extends State<AddContactBottomSheet> {
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
- color: colorScheme.backgroundElevated,
+ color: colorScheme.fillFaint,
),
padding: const EdgeInsets.all(8),
child: Icon(
Icons.close,
- size: 24,
+ size: 20,
color: colorScheme.textBase,
),
),