[mob] Fix changelog scrolling on small devices (#7059)

## Description

## Tests
This commit is contained in:
Neeraj
2025-09-04 12:02:11 +05:30
committed by GitHub
3 changed files with 6 additions and 19 deletions

View File

@@ -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");

View File

@@ -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(

View File

@@ -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+1205
publish_to: none
environment: