Skip to content

armgit / ente

Public Imported from GitHub
0

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

pinned icon ui

laurenspriem6f0db5c5927f
diff --git a/mobile/apps/photos/lib/ui/viewer/people/pinned_person_badge.dart b/mobile/apps/photos/lib/ui/viewer/people/pinned_person_badge.dart
index aae4208fe6..e47ca49cfb 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/pinned_person_badge.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/pinned_person_badge.dart
@@ -1,3 +1,5 @@
+import "dart:math" as math;
+
import "package:flutter/material.dart";
import "package:photos/theme/ente_theme.dart";
@@ -25,10 +27,13 @@ class PinnedPersonBadge extends StatelessWidget {
),
],
),
- child: Icon(
- Icons.push_pin,
- size: 14,
- color: colorScheme.textMuted,
+ child: Transform.rotate(
+ angle: -math.pi / 4,
+ child: Icon(
+ Icons.push_pin,
+ size: 14,
+ color: colorScheme.primary500,
+ ),
),
);
}
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart b/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
index ddfe90f72e..f7aa01ce63 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/people_section_all_page.dart
@@ -252,8 +252,8 @@ class SelectablePersonSearchExample extends StatelessWidget {
),
if (isPinnedPerson)
const Positioned(
- right: -6,
- bottom: -6,
+ left: -6,
+ top: -6,
child: PinnedPersonBadge(),
),
],