mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Hide cancel button if pin forced
This commit is contained in:
@@ -280,4 +280,12 @@ extension EnterPinCodeViewController: EnterPinCodeViewModelViewDelegate {
|
||||
self.renderPlaceholdersCount(count)
|
||||
}
|
||||
|
||||
func enterPinCodeViewModel(_ viewModel: EnterPinCodeViewModelType, didUpdateCancelButtonHidden isHidden: Bool) {
|
||||
if isHidden {
|
||||
hideCancelButton()
|
||||
} else {
|
||||
showCancelButton()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user