[android] Open map folder instead of start download when icon is clicked

Signed-off-by: lluka <luka.lednicki@mailbox.org>
This commit is contained in:
lluka
2025-09-24 13:47:36 +02:00
committed by jeanbaptisteC
parent 8de440729e
commit b88839c3d8

View File

@@ -378,7 +378,12 @@ class DownloaderAdapter extends RecyclerView.Adapter<DownloaderAdapter.ViewHolde
case CountryItem.STATUS_DOWNLOADABLE, CountryItem.STATUS_PARTLY ->
{
if (clickOnStatus)
onDownloadActionSelected(mItem, DownloaderAdapter.this);
{
if (mItem.isExpandable())
goDeeper(mItem, true);
else
onDownloadActionSelected(mItem, DownloaderAdapter.this);
}
else
processLongClick();
}