mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-14 16:12:20 -06:00
feat: add changelogs, update old changelogs, update build scripts
This commit is contained in:
18
lib/routes/typed/top_level/changelog_route.dart
Normal file
18
lib/routes/typed/top_level/changelog_route.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:paperless_mobile/features/changelogs/view/changelog_dialog.dart';
|
||||
import 'package:paperless_mobile/routes/navigation_keys.dart';
|
||||
import 'package:paperless_mobile/routes/utils/dialog_page.dart';
|
||||
|
||||
part 'changelog_route.g.dart';
|
||||
|
||||
@TypedGoRoute<ChangelogRoute>(path: '/changelogs)')
|
||||
class ChangelogRoute extends GoRouteData {
|
||||
static final $parentNavigatorKey = rootNavigatorKey;
|
||||
@override
|
||||
Page<void> buildPage(BuildContext context, GoRouterState state) {
|
||||
return DialogPage(
|
||||
builder: (context) => const ChangelogDialog(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user