Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add warning assets

AmanRajSinghMourya16fd8da3e100
diff --git a/mobile/apps/locker/assets/2.0x/warning-yellow.png b/mobile/apps/locker/assets/2.0x/warning-yellow.png
new file mode 100644
index 0000000000..d466b66b03
Binary files /dev/null and b/mobile/apps/locker/assets/2.0x/warning-yellow.png differ
diff --git a/mobile/apps/locker/assets/3.0x/warning-yellow.png b/mobile/apps/locker/assets/3.0x/warning-yellow.png
new file mode 100644
index 0000000000..a396f2a2cb
Binary files /dev/null and b/mobile/apps/locker/assets/3.0x/warning-yellow.png differ
diff --git a/mobile/apps/locker/assets/warning-yellow.png b/mobile/apps/locker/assets/warning-yellow.png
new file mode 100644
index 0000000000..f6a48e2c15
Binary files /dev/null and b/mobile/apps/locker/assets/warning-yellow.png differ
diff --git a/mobile/packages/legacy/lib/pages/emergency_page.dart b/mobile/packages/legacy/lib/pages/emergency_page.dart
index b3fde7cb77..d1a5774807 100644
--- a/mobile/packages/legacy/lib/pages/emergency_page.dart
+++ b/mobile/packages/legacy/lib/pages/emergency_page.dart
@@ -215,10 +215,10 @@ class _EmergencyPageState extends State<EmergencyPage> {
textStyle: textTheme.small
.copyWith(color: colorScheme.textMuted),
trailingTitleWidget: contact.isPendingInvite()
- ? Icon(
- Icons.warning_amber_rounded,
- size: 20,
- color: colorScheme.warning500,
+ ? Image.asset(
+ "assets/warning-yellow.png",
+ width: 20,
+ height: 20,
)
: null,
),
@@ -343,10 +343,10 @@ class _EmergencyPageState extends State<EmergencyPage> {
fontWeight: FontWeight.w500,
),
trailingTitleWidget: currentUser.isPendingInvite()
- ? Icon(
- Icons.warning_amber_rounded,
- size: 20,
- color: colorScheme.warning500,
+ ? Image.asset(
+ "assets/warning-yellow.png",
+ width: 20,
+ height: 20,
)
: null,
),