mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various UI fixes
This commit is contained in:
@@ -384,7 +384,7 @@ private final class ProxyServerActionItemNode: ActionSheetItemNode {
|
||||
updateProxySettingsInteractively(transaction: transaction, { settings in
|
||||
currentSettings = settings
|
||||
var settings = settings
|
||||
if let index = settings.servers.index(of: proxyServerSettings) {
|
||||
if let index = settings.servers.firstIndex(of: proxyServerSettings) {
|
||||
settings.servers[index] = proxyServerSettings
|
||||
settings.activeServer = proxyServerSettings
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user