mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -213,6 +213,8 @@ public protocol AttachmentMediaPickerContext {
|
||||
var price: Int64? { get }
|
||||
func setPrice(_ price: Int64) -> Void
|
||||
|
||||
var hasTimers: Bool { get }
|
||||
|
||||
var loadingProgress: Signal<CGFloat?, NoError> { get }
|
||||
var mainButtonState: Signal<AttachmentMainButtonState?, NoError> { get }
|
||||
var secondaryButtonState: Signal<AttachmentMainButtonState?, NoError> { get }
|
||||
@@ -257,6 +259,10 @@ public extension AttachmentMediaPickerContext {
|
||||
func setPrice(_ price: Int64) -> Void {
|
||||
}
|
||||
|
||||
var hasTimers: Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
var loadingProgress: Signal<CGFloat?, NoError> {
|
||||
return .single(nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user