mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Decreased top padding in dialog
This commit is contained in:
parent
dc11bec48c
commit
8c9af4ef42
6 changed files with 9 additions and 6 deletions
|
|
@ -29,9 +29,12 @@ public class ConnectionAlertDialog extends DialogFragment {
|
|||
builder.setView(bind.getRoot())
|
||||
.setTitle(R.string.connection_alert_dialog_title)
|
||||
.setPositiveButton(R.string.connection_alert_dialog_positive_button, (dialog, id) -> dialog.cancel())
|
||||
.setNeutralButton(R.string.connection_alert_dialog_neutral_button, (dialog, id) -> { })
|
||||
.setNegativeButton(R.string.connection_alert_dialog_negative_button, (dialog, id) -> dialog.cancel());
|
||||
|
||||
if(!PreferenceUtil.getInstance(requireContext()).isDataSavingMode()) {
|
||||
builder.setNeutralButton(R.string.connection_alert_dialog_neutral_button, (dialog, id) -> { });
|
||||
}
|
||||
|
||||
return builder.create();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue