-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade keys only once & try to do it when collection is requested
- Loading branch information
1 parent
5d62318
commit dae43cb
Showing
8 changed files
with
96 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
OsmAnd/src/net/osmand/plus/configmap/tracks/SelectTrackTabsHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package net.osmand.plus.configmap.tracks; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import net.osmand.plus.OsmandApplication; | ||
import net.osmand.shared.gpx.data.TrackFolder; | ||
|
||
public class SelectTrackTabsHelper extends TrackTabsHelper { | ||
|
||
public SelectTrackTabsHelper(@NonNull OsmandApplication app) { | ||
super(app); | ||
} | ||
|
||
@Override | ||
protected void updateTrackTabs(@NonNull TrackFolder rootFolder) { | ||
trackTabs.clear(); | ||
trackTabs.put(TrackTabType.ON_MAP.name(), getTracksOnMapTab()); | ||
trackTabs.put(TrackTabType.ALL.name(), getAllTracksTab()); | ||
trackTabs.put(TrackTabType.FOLDERS.name(), getFoldersTab(rootFolder)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters