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.R;
|
||||||
import app.organicmaps.util.StringUtils;
|
import app.organicmaps.util.StringUtils;
|
||||||
import app.organicmaps.util.UiUtils;
|
import app.organicmaps.util.UiUtils;
|
||||||
|
|
||||||
import static app.organicmaps.downloader.CountryItem.*;
|
import static app.organicmaps.downloader.CountryItem.*;
|
||||||
|
|
||||||
class BottomPanel
|
class BottomPanel
|
||||||
@@ -39,6 +40,7 @@ class BottomPanel
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v)
|
public void onClick(View v)
|
||||||
{
|
{
|
||||||
|
MapManager.nativeCancel(mFragment.getCurrentRoot());
|
||||||
mFragment.getAdapter().refreshData();
|
mFragment.getAdapter().refreshData();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user