This commit is contained in:
Alex 2024-12-20 10:12:52 -06:00
parent 9e99973c18
commit 90f893df66
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

View File

@ -223,30 +223,31 @@ class OnboardingGalleryPermission extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ListView(
return Padding(
padding: const EdgeInsets.all(24.0),
physics: const ClampingScrollPhysics(),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(
Icons.perm_media_outlined,
size: 48,
size: 24,
color: context.primaryColor.withAlpha(250),
),
const SizedBox(width: 16),
Text(
"Gallery Permission",
style: context.textTheme.headlineSmall?.copyWith(
fontWeight: FontWeight.w600,
color: context.primaryColor,
),
),
],
),
const SizedBox(height: 32),
const SizedBox(height: 16),
Text(
"Gallery Permission",
style: context.textTheme.headlineMedium?.copyWith(
fontWeight: FontWeight.w600,
),
),
const SizedBox(height: 8),
Text(
"We need the read and write permission of the media gallery for the following actions",
"We use the read and write permission of the media gallery for the following actions",
style: context.textTheme.headlineSmall?.copyWith(
fontWeight: FontWeight.w400,
color: context.colorScheme.onSurface.withAlpha(220),
@ -256,11 +257,12 @@ class OnboardingGalleryPermission extends StatelessWidget {
const BulletList([
'Display the local videos and images',
'Read the file content to upload to your Immich instance',
'Remove the media from the device on your request',
'Remove media from the device on your request',
]),
const SizedBox(height: 64),
const Spacer(),
SizedBox(
height: 48,
width: double.infinity,
child: ElevatedButton(
onPressed: onNextPage,
child: const Text(
@ -273,6 +275,7 @@ class OnboardingGalleryPermission extends StatelessWidget {
),
),
],
),
);
}
}