mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Re-enable marker photo sharing.
Don't recall why it was disabled.
This commit is contained in:
@@ -167,7 +167,7 @@ public class MarkerDetailFragment extends Fragment {
|
||||
|
||||
private void updateMenuItems() {
|
||||
if (shareMarkerImageMenuItem != null) { // MenuProvider might not yet been initialized.
|
||||
// shareMarkerImageMenuItem.setEnabled(marker.hasPhoto());
|
||||
shareMarkerImageMenuItem.setEnabled(marker.photoUrl() != null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user