mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-22 18:25:17 +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() {
|
private void updateMenuItems() {
|
||||||
if (shareMarkerImageMenuItem != null) { // MenuProvider might not yet been initialized.
|
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