fix typo in preference key

This commit is contained in:
Conny Duck 2017-10-18 22:18:44 +02:00
parent 30312e0e55
commit 0789f048e6
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ class StatusBaseViewHolder extends RecyclerView.ViewHolder {
}
}
SharedPreferences pm = PreferenceManager.getDefaultSharedPreferences(context);
Boolean isAlwayShowSensitive = pm.getBoolean("alwayShowSensitiveMedia", false);
Boolean isAlwayShowSensitive = pm.getBoolean("alwaysShowSensitiveMedia", false);
if (sensitive && (!isAlwayShowSensitive)) {
sensitiveMediaWarning.setVisibility(showingSensitive ? View.GONE : View.VISIBLE);
sensitiveMediaShow.setVisibility(showingSensitive ? View.VISIBLE : View.GONE);

View File

@ -21,7 +21,7 @@
<CheckBoxPreference
android:defaultValue="false"
android:key="alwayShowSensitiveMedia"
android:key="alwaysShowSensitiveMedia"
android:title="@string/pref_title_alway_show_sensitive_media" />
</PreferenceCategory>