This commit is contained in:
timonrieger
2026-06-11 17:16:50 +02:00
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 = [