bump version

This commit is contained in:
Max Lv
2014-11-17 09:39:34 +08:00
parent b7c3c7d269
commit 948db260b6
3 changed files with 12 additions and 4 deletions
@@ -128,7 +128,11 @@ object Shadowsocks {
// Helper functions
def updateListPreference(pref: Preference, value: String) {
pref.asInstanceOf[ListPreference].setValue(value)
pref.setSummary(pref.asInstanceOf[ListPreference].getEntry)
val entry = pref.asInstanceOf[ListPreference].getEntry
if (entry != null)
pref.setSummary(entry)
else
pref.setSummary(value)
}
def updatePasswordEditTextPreference(pref: Preference, value: String) {