update to Notes in my places
This commit is contained in:
parent
607d496275
commit
2ebd2e6bee
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ public class FavoritesActivity extends TabActivity {
|
|||
mTabs.add(getTabIndicator(R.string.my_favorites, FavoritesTreeFragment.class));
|
||||
mTabs.add(getTabIndicator(R.string.my_tracks, AvailableGPXFragment.class));
|
||||
AudioVideoNotesPlugin audioVideoNotesPlugin = OsmandPlugin.getEnabledPlugin(AudioVideoNotesPlugin.class);
|
||||
if (audioVideoNotesPlugin != null && audioVideoNotesPlugin.getAllRecordings().size() > 0){
|
||||
if (audioVideoNotesPlugin != null && audioVideoNotesPlugin.isActive()
|
||||
&& audioVideoNotesPlugin.getAllRecordings().size() > 0){
|
||||
mTabs.add(getTabIndicator(R.string.notes, NotesFragment.class));
|
||||
}
|
||||
mTabs.add(getTabIndicator(R.string.selected_track, SelectedGPXFragment.class));
|
||||
|
|
Loading…
Reference in a new issue