mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Use server default for channel message price
This commit is contained in:
parent
b0c824d79f
commit
74eb315215
@ -179,6 +179,9 @@ final class PostSuggestionsSettingsScreenComponent: Component {
|
||||
self.areSuggestionsEnabled = true
|
||||
} else {
|
||||
self.starCount = 20
|
||||
if let data = component.context.currentAppConfiguration.with({ $0 }).data, let value = data["stars_paid_messages_channel_amount_default"] as? Double {
|
||||
self.starCount = Int(value)
|
||||
}
|
||||
self.areSuggestionsEnabled = false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user