mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
don't replace summary with empty value
This commit is contained in:
parent
1ea06352dc
commit
1054ba5341
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ public class PrefsActivity extends PreferenceActivity
|
||||||
{
|
{
|
||||||
Preference pref = getPreferenceScreen().findPreference( key );
|
Preference pref = getPreferenceScreen().findPreference( key );
|
||||||
String value = sp.getString( key, "" );
|
String value = sp.getString( key, "" );
|
||||||
pref.setSummary( value );
|
if ( ! value.equals("") ) {
|
||||||
|
pref.setSummary( value );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue