Fix free downloads
This commit is contained in:
parent
bd41be16e0
commit
3035b33c89
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ public class OsmandSettings {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public final OsmandPreference<Integer> NUMBER_OF_FREE_DOWNLOADS = new IntPreference("free_downloads_v1", 0).makeGlobal();
|
public final OsmandPreference<Integer> NUMBER_OF_FREE_DOWNLOADS = new IntPreference("free_downloads_v2", 0).makeGlobal();
|
||||||
|
|
||||||
public boolean checkFreeDownloadsNumberZero(){
|
public boolean checkFreeDownloadsNumberZero(){
|
||||||
if(!settingsAPI.contains(globalPreferences,NUMBER_OF_FREE_DOWNLOADS.getId())){
|
if(!settingsAPI.contains(globalPreferences,NUMBER_OF_FREE_DOWNLOADS.getId())){
|
||||||
|
|
Loading…
Reference in a new issue