mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 09:17:58 +00:00
Fixed expand/collapse of unselectable folders
This commit is contained in:
parent
62d9d44431
commit
bf48591f8d
1 changed files with 4 additions and 1 deletions
|
@ -373,7 +373,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
|||
return;
|
||||
|
||||
TupleFolderEx folder = items.get(pos);
|
||||
if (folder.tbd != null || !folder.selectable)
|
||||
if (folder.tbd != null)
|
||||
return;
|
||||
|
||||
switch (view.getId()) {
|
||||
|
@ -386,6 +386,9 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
|||
break;
|
||||
default:
|
||||
if (listener == null) {
|
||||
if (!folder.selectable)
|
||||
return;
|
||||
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||
lbm.sendBroadcast(
|
||||
new Intent(ActivityView.ACTION_VIEW_MESSAGES)
|
||||
|
|
Loading…
Reference in a new issue