From 9076ec6c6e00fd22fd8dedc694aa9b6d9cb1a6de Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Sat, 1 Jun 2024 18:14:57 +0300 Subject: [PATCH] Update payment notice condition --- .../org/futo/inputmethod/latin/uix/settings/pages/Payment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/org/futo/inputmethod/latin/uix/settings/pages/Payment.kt b/java/src/org/futo/inputmethod/latin/uix/settings/pages/Payment.kt index bee403b0e..a38885c58 100644 --- a/java/src/org/futo/inputmethod/latin/uix/settings/pages/Payment.kt +++ b/java/src/org/futo/inputmethod/latin/uix/settings/pages/Payment.kt @@ -184,6 +184,8 @@ fun UnpaidNoticeCondition( && (!isAlreadyPaid) // and not overridden by migration notice && !isDisplayingMigrationNotice + // and you can pay to begin with + && BuildConfig.PAYMENT_URL.isNotBlank() if (force || displayCondition) { inner()