High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: show download button for remote only assets (#22453)
shenlongcdbe1d7f104e
diff --git a/mobile/lib/presentation/widgets/asset_viewer/top_app_bar.widget.dart b/mobile/lib/presentation/widgets/asset_viewer/top_app_bar.widget.dartindex 0159e04c4e..10c9821eb0 100644--- a/mobile/lib/presentation/widgets/asset_viewer/top_app_bar.widget.dart+++ b/mobile/lib/presentation/widgets/asset_viewer/top_app_bar.widget.dart@@ -57,7 +57,7 @@ class ViewerTopAppBar extends ConsumerWidget implements PreferredSizeWidget {final isCasting = ref.watch(castProvider.select((c) => c.isCasting));final actions = <Widget>[- if (asset.hasRemote) const DownloadActionButton(source: ActionSource.viewer, menuItem: true),+ if (asset.isRemoteOnly) const DownloadActionButton(source: ActionSource.viewer, menuItem: true),if (isCasting || (asset.hasRemote)) const CastActionButton(menuItem: true),if (album != null && album.isActivityEnabled && album.isShared)IconButton(