Greenstand / treetracker-ios

IOS version of the Treetracker
GNU Affero General Public License v3.0
16 stars 41 forks source link

After taking a photo of a tree, the Take Photo button should probably say Retake Photo; I wasn’t sure if this function would add a new photo or replace the current one - Is this step redundant #96

Closed AlexCornforth closed 2 years ago

AlexCornforth commented 2 years ago

Rename the take photo button to "Retake Photo" once we have an image.

Seems like

var takePhotoActionTitle: String {
    guard image != nil else {
        return L10n.AddTree.PhotoButton.Title.takePhoto
    }
    return L10n.AddTree.PhotoButton.Title.retake
}

Is already in the AddTreeViewModel but not utilised.