mirror of
https://github.com/immich-app/immich.git
synced 2025-06-22 06:50:54 -04:00
19 lines
469 B
Dart
19 lines
469 B
Dart
import 'package:auto_route/auto_route.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:immich_mobile/presentation/router/router.dart';
|
|
|
|
@RoutePage()
|
|
class HomePage extends StatelessWidget {
|
|
const HomePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: ElevatedButton(
|
|
onPressed: () => context.router.navigate(const SettingsRoute()),
|
|
child: const Text('Settings'),
|
|
),
|
|
);
|
|
}
|
|
}
|