mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
lint
This commit is contained in:
parent
e6893adf2f
commit
2fbbd7da58
2 changed files with 4 additions and 2 deletions
|
|
@ -17,7 +17,9 @@ class OpenActivityActionButton extends ConsumerWidget {
|
|||
void _onTap(BuildContext context, WidgetRef ref) {
|
||||
final album = ref.read(currentRemoteAlbumProvider);
|
||||
final asset = ref.read(assetViewerProvider).currentAsset;
|
||||
if (album == null || asset == null) return;
|
||||
if (album == null || asset == null) {
|
||||
return;
|
||||
}
|
||||
context.router.push(
|
||||
DriftActivitiesRoute(album: album, assetId: asset is RemoteAsset ? asset.id : null, assetName: asset.name),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1333,7 +1333,7 @@ void main() {
|
|||
advancedTroubleshooting: false,
|
||||
isStacked: false,
|
||||
source: ActionSource.viewer,
|
||||
serverVersion: SemVer(major: 2, minor: 6, patch: 0),
|
||||
serverVersion: const SemVer(major: 2, minor: 6, patch: 0),
|
||||
);
|
||||
|
||||
const expectedTypes = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue