feat(dialog) refinaments

This commit is contained in:
Calin Chitu
2022-02-08 17:09:22 +02:00
committed by Calinteodor
parent 8a6b6f2942
commit 06bd279f22
8 changed files with 60 additions and 102 deletions

View File

@@ -97,7 +97,6 @@ class InputDialog<P: Props, S: State> extends AbstractDialog<P, S> {
return (
<View>
<Dialog.Container
onBackdropPress = { this._onCancel }
visible = { true }>
<Dialog.Title>
{ t(titleKey) }
@@ -122,6 +121,9 @@ class InputDialog<P: Props, S: State> extends AbstractDialog<P, S> {
</Dialog.Description>
)
}
<Dialog.Button
label = { t('dialog.Cancel') }
onPress = { this._onCancel } />
<Dialog.Button
label = { t('dialog.Ok') }
onPress = { this._onSubmitValue } />