Commit 9617418e authored by Mygod's avatar Mygod

Stop calling notifyChanged over aggressively in EditTextPreference

parent c09a96a2
......@@ -60,7 +60,8 @@ class EditTextPreference(context: Context, attrs: AttributeSet = null) extends P
}
override def setText(text: String): Unit = {
val old = getText
super.setText(text)
notifyChanged()
if (old != text) notifyChanged()
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment