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