Various fixes

This commit is contained in:
Ilya Laktyushin
2023-04-23 20:28:51 +04:00
parent 0908a3cf63
commit a375a49dfd
3 changed files with 4 additions and 7 deletions

View File

@@ -1452,13 +1452,13 @@ public final class MediaPickerScreen: ViewController, AttachmentContainable {
}
}
selectionState.setItem(item, selected: value)
let success = selectionState.setItem(item, selected: value)
if showUndo {
self.showSelectionUndo(item: item)
}
return true
return success
} else {
return false
}