mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(mobile): Add const linter (#14447)
This commit is contained in:
parent
4eb7758f56
commit
1bb6926b5e
14 changed files with 39 additions and 34 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue