mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
chore(mobile): Add const linter (#14447)
This commit is contained in:
@@ -49,7 +49,7 @@ class AlbumOptionsPage extends HookConsumerWidget {
|
||||
|
||||
if (isSuccess) {
|
||||
context.navigateTo(
|
||||
TabControllerRoute(children: [AlbumsRoute()]),
|
||||
const TabControllerRoute(children: [AlbumsRoute()]),
|
||||
);
|
||||
} else {
|
||||
showErrorMessage();
|
||||
|
||||
@@ -33,7 +33,7 @@ class AlbumSharedUserSelectionPage extends HookConsumerWidget {
|
||||
if (newAlbum != null) {
|
||||
ref.watch(albumTitleProvider.notifier).clearAlbumTitle();
|
||||
context.maybePop(true);
|
||||
context.navigateTo(TabControllerRoute(children: [AlbumsRoute()]));
|
||||
context.navigateTo(const TabControllerRoute(children: [AlbumsRoute()]));
|
||||
}
|
||||
|
||||
ScaffoldMessenger(
|
||||
|
||||
Reference in New Issue
Block a user