Refactor wallet-related modules

This commit is contained in:
Peter
2019-10-08 14:30:24 +04:00
parent 5fed1fbeb1
commit d2c54825f0
230 changed files with 4534 additions and 2435 deletions

View File

@@ -12,6 +12,7 @@ static_library(
"//submodules/TelegramPresentationData:TelegramPresentationData",
"//submodules/AlertUI:AlertUI",
"//submodules/ItemListUI:ItemListUI",
"//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
],
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",

View File

@@ -0,0 +1,10 @@
import Foundation
import UIKit
import SolidRoundedButtonNode
import TelegramPresentationData
public extension SolidRoundedButtonTheme {
convenience init(theme: PresentationTheme) {
self.init(backgroundColor: theme.list.itemCheckColors.fillColor, foregroundColor: theme.list.itemCheckColors.foregroundColor)
}
}