mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 11:20:18 +00:00
Fix input focus change after QR scanning
This commit is contained in:
parent
793149ad67
commit
77a592a05c
@ -336,9 +336,9 @@ public func walletSendScreen(context: WalletContext, randomId: Int64, walletInfo
|
|||||||
popImpl?()
|
popImpl?()
|
||||||
if let updatedState = updatedState {
|
if let updatedState = updatedState {
|
||||||
if updatedState.amount.isEmpty {
|
if updatedState.amount.isEmpty {
|
||||||
selectNextInputItemImpl?(WalletSendScreenEntryTag.address)
|
|
||||||
} else if updatedState.comment.isEmpty {
|
|
||||||
selectNextInputItemImpl?(WalletSendScreenEntryTag.amount)
|
selectNextInputItemImpl?(WalletSendScreenEntryTag.amount)
|
||||||
|
} else if updatedState.comment.isEmpty {
|
||||||
|
selectNextInputItemImpl?(WalletSendScreenEntryTag.comment)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user