2024-01-05 07:20:55 +02:00
|
|
|
import 'package:auto_route/auto_route.dart';
|
2023-12-07 17:53:15 +02:00
|
|
|
import 'package:flutter/material.dart';
|
2024-03-12 16:56:08 +02:00
|
|
|
import 'package:immich_mobile/modules/settings/ui/backup_settings/backup_settings.dart';
|
2023-12-07 17:53:15 +02:00
|
|
|
|
2024-01-15 18:50:33 +02:00
|
|
|
@RoutePage()
|
2024-03-12 16:56:08 +02:00
|
|
|
class BackupOptionsPage extends StatelessWidget {
|
2024-01-27 18:14:32 +02:00
|
|
|
const BackupOptionsPage({super.key});
|
2023-12-07 17:53:15 +02:00
|
|
|
@override
|
2024-03-12 16:56:08 +02:00
|
|
|
Widget build(BuildContext context) {
|
2023-12-07 17:53:15 +02:00
|
|
|
return Scaffold(
|
|
|
|
appBar: AppBar(
|
|
|
|
elevation: 0,
|
|
|
|
title: const Text(
|
|
|
|
"Backup options",
|
|
|
|
),
|
|
|
|
leading: IconButton(
|
2024-01-05 07:20:55 +02:00
|
|
|
onPressed: () => context.popRoute(true),
|
2023-12-07 17:53:15 +02:00
|
|
|
splashRadius: 24,
|
|
|
|
icon: const Icon(
|
|
|
|
Icons.arrow_back_ios_rounded,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2024-03-12 16:56:08 +02:00
|
|
|
body: const BackupSettings(),
|
2023-12-07 17:53:15 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|