mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user