From e4af24db539d766f9be848006d0388808feb95cd Mon Sep 17 00:00:00 2001 From: Adrian Date: Sun, 6 Sep 2020 01:30:35 +0200 Subject: [PATCH] now really recycle --- .../utils/textValidator/ValidatingEditTextPreference.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/info/nightscout/androidaps/utils/textValidator/ValidatingEditTextPreference.kt b/core/src/main/java/info/nightscout/androidaps/utils/textValidator/ValidatingEditTextPreference.kt index 98209f29b2..b7c244ec54 100644 --- a/core/src/main/java/info/nightscout/androidaps/utils/textValidator/ValidatingEditTextPreference.kt +++ b/core/src/main/java/info/nightscout/androidaps/utils/textValidator/ValidatingEditTextPreference.kt @@ -53,7 +53,7 @@ class ValidatingEditTextPreference(ctx: Context, attrs: AttributeSet, defStyleAt params.floatminNumber = typedArray.getFloat(R.styleable.FormEditText_floatminNumber, Float.MIN_VALUE) params.floatmaxNumber = typedArray.getFloat(R.styleable.FormEditText_floatmaxNumber, Float.MAX_VALUE) } + typedArray.recycle() } - typedArray.recycle() } }