mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactor wallet-related modules
This commit is contained in:
@@ -2,16 +2,11 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
import Display
|
||||
import TelegramPresentationData
|
||||
import ActivityIndicator
|
||||
|
||||
public final class ProgressNavigationButtonNode: ASDisplayNode {
|
||||
private var indicatorNode: ActivityIndicator
|
||||
|
||||
convenience public init(theme: PresentationTheme) {
|
||||
self.init(color: theme.rootController.navigationBar.accentTextColor)
|
||||
}
|
||||
|
||||
public init(color: UIColor) {
|
||||
self.indicatorNode = ActivityIndicator(type: .custom(color, 22.0, 1.0, false))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user