Simplification

This commit is contained in:
M66B 2020-05-15 16:51:30 +02:00
parent d9852ebc23
commit 76252855e4
1 changed files with 1 additions and 3 deletions

View File

@ -133,9 +133,7 @@ public class WidgetUnifiedRemoteViewsFactory implements RemoteViewsService.Remot
views.setOnClickFillInIntent(R.id.llMessage, thread);
int colorBackground =
(message.accountColor == null || !ActivityBilling.isPro(context)
? colorSeparator : message.accountColor);
(message.accountColor == null || !pro ? colorSeparator : message.accountColor);
views.setInt(R.id.stripe, "setBackgroundColor", colorBackground);
views.setViewVisibility(R.id.stripe, account < 0 && color_stripe ? View.VISIBLE : View.GONE);