From 76252855e4c09a630e161f0d8d8efbb3855eee0a Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 15 May 2020 16:51:30 +0200 Subject: [PATCH] Simplification --- .../eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java b/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java index b8d51632f2..5c411a806f 100644 --- a/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java +++ b/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java @@ -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);