π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Fix changelog scrolling on small devices
Neeraj Gupta8b2db5e5764f
diff --git a/mobile/apps/photos/lib/services/update_service.dart b/mobile/apps/photos/lib/services/update_service.dartindex 46f09aa0a5..f850e376f0 100644--- a/mobile/apps/photos/lib/services/update_service.dart+++ b/mobile/apps/photos/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 = 35;+ static const currentChangeLogVersion = 36;LatestVersionInfo? _latestVersion;final _logger = Logger("UpdateService");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.dartindex b3ec64e466..e3831c3ec2 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@@ -27,7 +27,7 @@ class _ChangeLogPageState extends State<ChangeLogPage> {body: Container(color: enteColorScheme.backgroundElevated,child: Column(- mainAxisAlignment: MainAxisAlignment.start,+ mainAxisAlignment: MainAxisAlignment.center,children: [const SizedBox(height: 36,@@ -41,7 +41,9 @@ class _ChangeLogPageState extends State<ChangeLogPage> {),),),- const SizedBox(height: 24),+ const SizedBox(+ height: 24,+ ),Expanded(child: _getChangeLog(context)),const DividerWidget(dividerType: DividerType.solid,@@ -111,21 +113,6 @@ class _ChangeLogPageState extends State<ChangeLogPage> {context.l10n.cLDesc3,),]);- // For a short list, avoid forcing the list to fill remaining space; show a simple column.- if (items.length <= 6) {- return Padding(- padding: const EdgeInsets.symmetric(horizontal: 16.0),- child: Column(- crossAxisAlignment: CrossAxisAlignment.start,- mainAxisSize: MainAxisSize.min,- children: [- for (final e in items) ChangeLogEntryWidget(entry: e),- const SizedBox(height: 16), // balanced gap before divider/buttons- ],- ),- );- }-return Container(padding: const EdgeInsets.only(left: 16),child: Scrollbar(diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yamlindex 83fd566cb6..97112ac4d2 100644--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@ -12,7 +12,7 @@ description: ente photos application# Read more about iOS versioning at# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html-version: 1.2.3+1205+version: 1.2.4+1205publish_to: noneenvironment: