From 98d015c0b7984dadeea1e65573b643ee35a9b87f Mon Sep 17 00:00:00 2001 From: George Venios Date: Mon, 7 Sep 2015 01:31:14 +0100 Subject: [PATCH] Disabled number picker wrapping. --- .../fragments/dialog/KeepVersionsDialogFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/dialog/KeepVersionsDialogFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/dialog/KeepVersionsDialogFragment.java index 5e3c5a89..e25dfe9b 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/dialog/KeepVersionsDialogFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/dialog/KeepVersionsDialogFragment.java @@ -68,6 +68,7 @@ public class KeepVersionsDialogFragment extends DialogFragment { picker.setMinValue(0); picker.setMaxValue(5); picker.setValue(mValue); + picker.setWrapSelectorWheel(false); return picker; }