Skip to content

armgit / ente

Public Imported from GitHub
0

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

pin icon logic fix

a5xwine20259da8691
diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dart
index d0b5c7f3ce..692641330f 100644
--- a/mobile/apps/auth/lib/ui/home_page.dart
+++ b/mobile/apps/auth/lib/ui/home_page.dart
@@ -500,8 +500,8 @@ Widget _buildSingleSelectActions(Code code) {
_onPinSelectedPressed,
iconWidget: HugeIcon(
icon: allArePinned
- ? HugeIcons.strokeRoundedPin
- : HugeIcons.strokeRoundedPinOff,
+ ? HugeIcons.strokeRoundedPinOff
+ : HugeIcons.strokeRoundedPin,
size: 21,
color: getEnteColorScheme(context).textBase,
),
@@ -562,7 +562,7 @@ Widget _buildMultiSelectActions(Set<String> selectedIds) {
context.l10n.pinText,
_onPinSelectedPressed,
iconWidget: HugeIcon(
- icon: HugeIcons.strokeRoundedPinOff,
+ icon: HugeIcons.strokeRoundedPin,
size: 21,
color: getEnteColorScheme(context).textBase,
),
@@ -571,7 +571,7 @@ Widget _buildMultiSelectActions(Set<String> selectedIds) {
context.l10n.unpinText,
_onUnpinSelectedPressed,
iconWidget: HugeIcon(
- icon: HugeIcons.strokeRoundedPin,
+ icon: HugeIcons.strokeRoundedPinOff,
size: 21,
color: getEnteColorScheme(context).textBase,
),
@@ -605,8 +605,8 @@ Widget _buildMultiSelectActions(Set<String> selectedIds) {
_onPinSelectedPressed,
iconWidget: HugeIcon(
icon: allArePinned
- ? HugeIcons.strokeRoundedPin
- : HugeIcons.strokeRoundedPinOff,
+ ? HugeIcons.strokeRoundedPinOff
+ : HugeIcons.strokeRoundedPin,
size: 21,
color: getEnteColorScheme(context).textBase,
),