Skip to content

armgit / ente

Public Imported from GitHub
0

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

Photo taking asset

laurenspriem4aaf9dcd3950
diff --git a/mobile/apps/photos/assets/rituals/take_a_photo.png b/mobile/apps/photos/assets/rituals/take_a_photo.png
new file mode 100644
index 0000000000..5b711b5d1d
Binary files /dev/null and b/mobile/apps/photos/assets/rituals/take_a_photo.png differ
diff --git a/mobile/apps/photos/lib/ui/activity/activity_banner.dart b/mobile/apps/photos/lib/ui/activity/activity_banner.dart
index 51a9982122..301ff9d51c 100644
--- a/mobile/apps/photos/lib/ui/activity/activity_banner.dart
+++ b/mobile/apps/photos/lib/ui/activity/activity_banner.dart
@@ -9,7 +9,6 @@ class ActivityBanner extends StatelessWidget {
@override
Widget build(BuildContext context) {
- final colorScheme = Theme.of(context).colorScheme;
return ValueListenableBuilder<ActivityState>(
valueListenable: activityService.stateNotifier,
builder: (context, state, _) {
@@ -39,11 +38,13 @@ class ActivityBanner extends StatelessWidget {
const EdgeInsets.symmetric(horizontal: 12, vertical: 12),
child: Row(
children: [
- CircleAvatar(
- radius: 24,
- backgroundColor:
- colorScheme.primary.withAlpha((0.12 * 255).round()),
- child: const Text("πŸ“Έ", style: TextStyle(fontSize: 20)),
+ SizedBox(
+ width: 48,
+ height: 48,
+ child: Image.asset(
+ "assets/rituals/take_a_photo.png",
+ fit: BoxFit.contain,
+ ),
),
const SizedBox(width: 12),
Expanded(
diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yaml
index 5ae2c4acc6..15b382c0aa 100644
--- a/mobile/apps/photos/pubspec.yaml
+++ b/mobile/apps/photos/pubspec.yaml
@@ -343,6 +343,7 @@ flutter_native_splash:
flutter:
assets:
- assets/
+ - assets/rituals/
- assets/rewind_badges/
- assets/video-editor/
- assets/image-editor/