Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][locker] Use primary edit buttons for records (#13624)

Aman Rajcb42ebbce6cd
diff --git a/mobile/apps/locker/changes/record-edit-buttons.md b/mobile/apps/locker/changes/record-edit-buttons.md
new file mode 100644
index 0000000000..26d6e3090a
--- /dev/null
+++ b/mobile/apps/locker/changes/record-edit-buttons.md
@@ -0,0 +1 @@
+- Updated edit buttons for notes, secrets, things, and emergency contacts to match other toolbar buttons.
diff --git a/mobile/apps/locker/lib/ui/pages/base_info_page.dart b/mobile/apps/locker/lib/ui/pages/base_info_page.dart
index 07718d6475..3b260fbad0 100644
--- a/mobile/apps/locker/lib/ui/pages/base_info_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/base_info_page.dart
@@ -620,7 +620,7 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
icon: const HugeIcon(
icon: HugeIcons.strokeRoundedEdit03,
),
- variant: IconButtonComponentVariant.unfilled,
+ variant: IconButtonComponentVariant.primary,
shouldSurfaceExecutionStates: false,
onTap: _toggleMode,
tooltip: context.strings.edit,