mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 07:20:50 -04:00
wip
This commit is contained in:
parent
9e99973c18
commit
90f893df66
@ -223,30 +223,31 @@ class OnboardingGalleryPermission extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return ListView(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(24.0),
|
padding: const EdgeInsets.all(24.0),
|
||||||
physics: const ClampingScrollPhysics(),
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
Icons.perm_media_outlined,
|
Icons.perm_media_outlined,
|
||||||
size: 48,
|
size: 24,
|
||||||
color: context.primaryColor.withAlpha(250),
|
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(
|
Text(
|
||||||
"Gallery Permission",
|
"We use the read and write permission of the media gallery for the following actions",
|
||||||
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",
|
|
||||||
style: context.textTheme.headlineSmall?.copyWith(
|
style: context.textTheme.headlineSmall?.copyWith(
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
color: context.colorScheme.onSurface.withAlpha(220),
|
color: context.colorScheme.onSurface.withAlpha(220),
|
||||||
@ -256,11 +257,12 @@ class OnboardingGalleryPermission extends StatelessWidget {
|
|||||||
const BulletList([
|
const BulletList([
|
||||||
'Display the local videos and images',
|
'Display the local videos and images',
|
||||||
'Read the file content to upload to your Immich instance',
|
'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(
|
SizedBox(
|
||||||
height: 48,
|
height: 48,
|
||||||
|
width: double.infinity,
|
||||||
child: ElevatedButton(
|
child: ElevatedButton(
|
||||||
onPressed: onNextPage,
|
onPressed: onNextPage,
|
||||||
child: const Text(
|
child: const Text(
|
||||||
@ -273,6 +275,7 @@ class OnboardingGalleryPermission extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user