Skip to content

Commit

Permalink
Show trash icon only when photo is displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
iiLubos committed Jan 31, 2024
1 parent 4e4ca44 commit 94ce151
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/qml/inputs/MMPhotoEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ MMAbstractEditor {
radius: 20 * __dp

content: MMPhoto {
id: photo

width: root.width
height: root.contentItemHeight
photoUrl: root.photoUrl
Expand All @@ -46,6 +48,7 @@ MMAbstractEditor {
anchors.bottom: parent.bottom
anchors.rightMargin: 10 * __dp
anchors.bottomMargin: 10 * __dp
visible: photo.status === Image.Ready

MMIcon {
anchors.centerIn: parent
Expand Down

1 comment on commit 94ce151

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.01.511911 just submitted!

Please sign in to comment.