Change cache behavior
This commit is contained in:
parent
df73b64ad3
commit
cffbbd73a6
|
@ -1329,11 +1329,7 @@ public class Status implements Parcelable {
|
||||||
spannable.removeSpan(quoteSpan);
|
spannable.removeSpan(quoteSpan);
|
||||||
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
||||||
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||||
int colord;
|
int colord = ContextCompat.getColor(context, R.color.cyanea_accent_reference);
|
||||||
if (theme == THEME_BLACK)
|
|
||||||
colord = ContextCompat.getColor(context, R.color.dark_blockquote);
|
|
||||||
else
|
|
||||||
colord = ContextCompat.getColor(context, R.color.mastodonC4);
|
|
||||||
spannable.setSpan(new CustomQuoteSpan(
|
spannable.setSpan(new CustomQuoteSpan(
|
||||||
ContextCompat.getColor(context, R.color.transparent),
|
ContextCompat.getColor(context, R.color.transparent),
|
||||||
colord,
|
colord,
|
||||||
|
|
Loading…
Reference in New Issue