1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-03 05:12:42 +02:00

Remove time preference dialog title

According to reports on the internet this may make the dialog work in
landscape mode also on devices where it doesn't work with the title.

Fix #277
This commit is contained in:
Erik Johansson
2018-05-29 11:18:33 +02:00
parent 3eacf0d85b
commit e4981f2240

View File

@@ -44,6 +44,7 @@ public class TimePreferenceDialog extends DialogPreference {
setPositiveButtonText(R.string.label_ok);
setNegativeButtonText(R.string.label_cancel);
setDialogTitle(null);
calendar = Calendar.getInstance();
}