mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -1897,12 +1897,12 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
|
||||
if let self, let controller = self.controller, values.gradientColors != nil, controller.previousSavedValues != values {
|
||||
if !isSavingAvailable && controller.previousSavedValues == nil {
|
||||
controller.previousSavedValues = values
|
||||
controller.isSavingAvailable = false
|
||||
} else {
|
||||
self.hasAnyChanges = true
|
||||
|
||||
controller.isSavingAvailable = true
|
||||
controller.requestLayout(transition: .animated(duration: 0.25, curve: .easeInOut))
|
||||
}
|
||||
controller.requestLayout(transition: .animated(duration: 0.25, curve: .easeInOut))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user