Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Update change log order

Neeraj Gupta3c7b1c6c5e28
diff --git a/mobile/lib/services/update_service.dart b/mobile/lib/services/update_service.dart
index e144548a79..4c7b1dc881 100644
--- a/mobile/lib/services/update_service.dart
+++ b/mobile/lib/services/update_service.dart
@@ -14,7 +14,7 @@ import 'package:url_launcher/url_launcher_string.dart';
class UpdateService {
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
static const changeLogVersionKey = "update_change_log_key";
- static const currentChangeLogVersion = 29;
+ static const currentChangeLogVersion = 30;
LatestVersionInfo? _latestVersion;
final _logger = Logger("UpdateService");
diff --git a/mobile/lib/ui/notification/update/change_log_page.dart b/mobile/lib/ui/notification/update/change_log_page.dart
index 42ddaa4407..e386546fb2 100644
--- a/mobile/lib/ui/notification/update/change_log_page.dart
+++ b/mobile/lib/ui/notification/update/change_log_page.dart
@@ -1,3 +1,5 @@
+import "dart:io";
+
import 'package:flutter/material.dart';
import "package:photos/generated/l10n.dart";
import "package:photos/l10n/l10n.dart";
@@ -101,29 +103,30 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
final List<ChangeLogEntry> items = [];
items.addAll([
ChangeLogEntry(
- context.l10n.cLTitle1,
- context.l10n.cLDesc1,
- ),
- ChangeLogEntry(
- context.l10n.cLTitle2,
- context.l10n.cLDesc2,
+ context.l10n.cLTitle4,
+ context.l10n.cLDesc4,
),
ChangeLogEntry(
context.l10n.cLTitle3,
context.l10n.cLDesc3,
),
- ChangeLogEntry(
- context.l10n.cLTitle4,
- context.l10n.cLDesc4,
- ),
ChangeLogEntry(
context.l10n.cLTitle5,
context.l10n.cLDesc5,
),
+ if (!Platform.isAndroid)
+ ChangeLogEntry(
+ context.l10n.cLTitle2,
+ context.l10n.cLDesc2,
+ ),
ChangeLogEntry(
context.l10n.cLTitle6,
context.l10n.cLDesc6,
),
+ ChangeLogEntry(
+ context.l10n.cLTitle1,
+ context.l10n.cLDesc1,
+ ),
]);
return Container(