From 85091052e76e56cadf3010854f7ffec4febcdb21 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 14 Jun 2019 07:22:25 +0100 Subject: [PATCH] iOS: Fixed missing Confirm and Cancel buttons on Alarm dialog --- .../lib/components/select-date-time-dialog.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ReactNativeClient/lib/components/select-date-time-dialog.js b/ReactNativeClient/lib/components/select-date-time-dialog.js index 6658d9982..5a80713ba 100644 --- a/ReactNativeClient/lib/components/select-date-time-dialog.js +++ b/ReactNativeClient/lib/components/select-date-time-dialog.js @@ -85,6 +85,14 @@ class SelectDateTimeDialog extends Component { cancelBtnText={_('Cancel')} onDateChange={(date) => { this.setState({ date: this.stringToDate(date) }); }} style={{width:300}} + customStyles={{ + btnConfirm: { + paddingVertical: 0, + }, + btnCancel: { + paddingVertical: 0, + }, + }} />