mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Refactor wallet-related modules
This commit is contained in:
parent
5fed1fbeb1
commit
d2c54825f0
230 changed files with 4534 additions and 2435 deletions
|
|
@ -8,7 +8,6 @@ static_library(
|
|||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/ActivityIndicator:ActivityIndicator",
|
||||
],
|
||||
frameworks = [
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue