mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +01:00
Fix wrong path used to check imported shared album
This commit is contained in:
parent
1a84ee8960
commit
51ba3e405a
1 changed files with 2 additions and 2 deletions
|
@ -270,8 +270,8 @@ class ListSharingBloc extends Bloc<ListSharingBlocEvent, ListSharingBlocState> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_isAccountOfInterest(ev.account)) {
|
if (_isAccountOfInterest(ev.account)) {
|
||||||
if (ev.destination.startsWith(remote_storage_util
|
if (ev.destination
|
||||||
.getRemotePendingSharedAlbumsDir(ev.account)) &&
|
.startsWith(remote_storage_util.getRemoteAlbumsDir(ev.account)) &&
|
||||||
ev.file.path.startsWith(remote_storage_util
|
ev.file.path.startsWith(remote_storage_util
|
||||||
.getRemotePendingSharedAlbumsDir(ev.account))) {
|
.getRemotePendingSharedAlbumsDir(ev.account))) {
|
||||||
// moving from/to pending dir
|
// moving from/to pending dir
|
||||||
|
|
Loading…
Reference in a new issue