mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
fixes unable to cancel download bug
Signed-off-by: kavikhalique <kavikhalique3@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a81bd5cd46
commit
2e37416a43
@@ -7,6 +7,7 @@ import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.util.StringUtils;
|
||||
import app.organicmaps.util.UiUtils;
|
||||
|
||||
import static app.organicmaps.downloader.CountryItem.*;
|
||||
|
||||
class BottomPanel
|
||||
@@ -39,7 +40,8 @@ class BottomPanel
|
||||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
mFragment.getAdapter().refreshData();
|
||||
MapManager.nativeCancel(mFragment.getCurrentRoot());
|
||||
mFragment.getAdapter().refreshData();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user