mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Don't query tags for files in a nc album
This commit is contained in:
parent
93d6180f06
commit
f7f8c22000
1 changed files with 4 additions and 0 deletions
|
@ -349,6 +349,10 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
|
|||
|
||||
Future<void> _initTags() async {
|
||||
assert(_file != null);
|
||||
if (file_util.isNcAlbumFile(widget.account, _file!)) {
|
||||
// tag is not supported here
|
||||
return;
|
||||
}
|
||||
final c = KiwiContainer().resolve<DiContainer>();
|
||||
try {
|
||||
final tags = await ListFileTag(c)(widget.account, _file!);
|
||||
|
|
Loading…
Add table
Reference in a new issue