mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactor string generation
This commit is contained in:
@@ -222,7 +222,7 @@ private final class ProxyServerInfoItemNode: ActionSheetItemNode {
|
||||
statusType = .generic(strongSelf.strings.SocksProxySetup_ProxyStatusChecking)
|
||||
case let .available(rtt):
|
||||
let pingTime = Int(rtt * 1000.0)
|
||||
statusType = .generic(strongSelf.strings.SocksProxySetup_ProxyStatusPing("\(pingTime)").0)
|
||||
statusType = .generic(strongSelf.strings.SocksProxySetup_ProxyStatusPing("\(pingTime)").string)
|
||||
case .notAvailable:
|
||||
statusType = .failed(strongSelf.strings.SocksProxySetup_ProxyStatusUnavailable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user