mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactor string generation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Foundation
|
||||
import PresentationStrings
|
||||
|
||||
public func compactNumericCountString(_ count: Int, decimalSeparator: String = ".") -> String {
|
||||
if count >= 1000 * 1000 {
|
||||
|
||||
Reference in New Issue
Block a user