Fix for timeout interval bug

Regardless of which theme is used, the text color for the timeout
  interval was being set to black. This made it difficult to
  read when using the Dark Theme.
This commit is contained in:
Steve R 2013-08-23 00:05:19 -04:00
parent f58f79a459
commit 45f4faaf4c

View File

@ -60,8 +60,6 @@ public class PassphraseTimeoutPreference extends DialogPreference {
// Can't figure out how to style a DialogPreference. // Can't figure out how to style a DialogPreference.
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
this.timeoutText.setTextColor(Color.parseColor("#cccccc")); this.timeoutText.setTextColor(Color.parseColor("#cccccc"));
} else {
this.timeoutText.setTextColor(Color.parseColor("#000000"));
} }
initializeDefaults(); initializeDefaults();