Update payment notice condition

This commit is contained in:
Aleksandras Kostarevas 2024-06-01 18:14:57 +03:00
parent a3ef83532b
commit 9076ec6c6e

View File

@ -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()