Merge pull request #616 from richardk85/richardk85-tap-to-reveal-min-1

"Tap to reveal": change min duration from 3 to 1
pull/619/head
Alexander Bakker 4 years ago committed by GitHub
commit 98b246ad20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -271,7 +271,7 @@ public class Dialogs {
public static void showNumberPickerDialog(Activity activity, NumberInputListener listener) {
View view = activity.getLayoutInflater().inflate(R.layout.dialog_number_picker, null);
NumberPicker numberPicker = view.findViewById(R.id.numberPicker);
numberPicker.setMinValue(3);
numberPicker.setMinValue(1);
numberPicker.setMaxValue(60);
numberPicker.setValue(new Preferences(activity.getApplicationContext()).getTapToRevealTime());
numberPicker.setWrapSelectorWheel(true);

Loading…
Cancel
Save