feat(mobile): add option to show asset owner name in asset list

This commit is contained in:
idubnori
2025-12-06 23:08:37 +09:00
parent 8416397589
commit f13a5ba418
13 changed files with 136 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ class MultiselectGrid extends HookConsumerWidget {
this.unfavorite = false,
this.downloadEnabled = true,
this.emptyIndicator,
this.album,
});
final ProviderListenable<AsyncValue<RenderList>> renderListProvider;
@@ -65,6 +66,7 @@ class MultiselectGrid extends HookConsumerWidget {
final bool unfavorite;
final bool editEnabled;
final Widget? emptyIndicator;
final Album? album;
Widget buildDefaultLoadingIndicator() => const Center(child: CircularProgressIndicator());
Widget buildEmptyIndicator() => emptyIndicator ?? Center(child: const Text("no_assets_to_show").tr());
@@ -418,6 +420,7 @@ class MultiselectGrid extends HookConsumerWidget {
topWidget: topWidget,
showStack: stackEnabled,
showDragScrollLabel: dragScrollLabelEnabled,
album: album,
),
error: (error, _) => Center(child: Text(error.toString())),
loading: buildLoadingIndicator ?? buildDefaultLoadingIndicator,