mirror of
https://github.com/immich-app/immich.git
synced 2026-07-07 13:07:04 -07:00
lint
This commit is contained in:
+3
-1
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user