Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add option for 4 updates

laurenspriem16ed0f0d68fd
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
index f7d07afbdf..85c04a39b6 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
@@ -124,6 +124,11 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
description: strings.desc3,
isFeature: true,
),
+ ChangeLogEntry(
+ strings.title4,
+ description: strings.desc4,
+ isFeature: true,
+ ),
]
.where(
(entry) =>
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
index 6fe8ed3373..376a576b2c 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
@@ -9,6 +9,8 @@ class ChangeLogStrings {
final String desc2;
final String title3;
final String desc3;
+ final String title4;
+ final String desc4;
const ChangeLogStrings({
required this.title1,
@@ -19,6 +21,8 @@ class ChangeLogStrings {
required this.desc2,
required this.title3,
required this.desc3,
+ this.title4 = '',
+ this.desc4 = '',
});
bool get hasVisibleEntries =>
@@ -29,7 +33,9 @@ class ChangeLogStrings {
title2.trim().isNotEmpty ||
desc2.trim().isNotEmpty ||
title3.trim().isNotEmpty ||
- desc3.trim().isNotEmpty;
+ desc3.trim().isNotEmpty ||
+ title4.trim().isNotEmpty ||
+ desc4.trim().isNotEmpty;
static ChangeLogStrings? maybeForLocale(
Locale locale, {