Various fixes

This commit is contained in:
Ilya Laktyushin
2024-09-03 15:48:15 +04:00
parent 32e6629538
commit d2deea0ea2
26 changed files with 528 additions and 268 deletions

View File

@@ -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)
}