mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various fixes
This commit is contained in:
@@ -1045,8 +1045,9 @@ final class AvatarEditorScreenComponent: Component {
|
||||
state.updated(transition: .easeInOut(duration: 0.2))
|
||||
}
|
||||
},
|
||||
openColorPicker: { [weak state] in
|
||||
if let state {
|
||||
openColorPicker: { [weak self, weak state] in
|
||||
if let self, let state {
|
||||
self.endEditing(true)
|
||||
state.editingColor = true
|
||||
state.previousColor = state.selectedBackground
|
||||
state.previousCustomColor = state.customColor
|
||||
|
||||
Reference in New Issue
Block a user