Merge pull request #2607 from MilosKozak/AdrianLxM-patch-2
Removed internal function
This commit is contained in:
commit
9ed1a9ba69
|
@ -2,7 +2,6 @@ package info.nightscout.androidaps.utils.textValidator
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.util.AttributeSet
|
import android.util.AttributeSet
|
||||||
import androidx.core.content.res.TypedArrayUtils
|
|
||||||
import androidx.preference.EditTextPreference
|
import androidx.preference.EditTextPreference
|
||||||
import androidx.preference.EditTextPreference.OnBindEditTextListener
|
import androidx.preference.EditTextPreference.OnBindEditTextListener
|
||||||
import androidx.preference.PreferenceViewHolder
|
import androidx.preference.PreferenceViewHolder
|
||||||
|
@ -23,8 +22,7 @@ class ValidatingEditTextPreference(ctx: Context, attrs: AttributeSet, defStyleAt
|
||||||
: this(ctx, attrs, defStyle, 0)
|
: this(ctx, attrs, defStyle, 0)
|
||||||
|
|
||||||
constructor(ctx: Context, attrs: AttributeSet)
|
constructor(ctx: Context, attrs: AttributeSet)
|
||||||
: this(ctx, attrs, TypedArrayUtils.getAttr(ctx, R.attr.editTextPreferenceStyle,
|
: this(ctx, attrs, R.attr.editTextPreferenceStyle)
|
||||||
R.attr.editTextPreferenceStyle))
|
|
||||||
|
|
||||||
private lateinit var editTextValidator: EditTextValidator
|
private lateinit var editTextValidator: EditTextValidator
|
||||||
|
|
||||||
|
@ -33,4 +31,4 @@ class ValidatingEditTextPreference(ctx: Context, attrs: AttributeSet, defStyleAt
|
||||||
holder?.isDividerAllowedAbove = false
|
holder?.isDividerAllowedAbove = false
|
||||||
holder?.isDividerAllowedBelow = false
|
holder?.isDividerAllowedBelow = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue