@ -67,7 +67,7 @@ class PurchaseDialog : DialogFragment(), OnPurchasesUpdated {
ButterKnife . bind ( this , binding . root )
if ( savedInstanceState == null ) {
nameYourPrice = !is TasksPayment
nameYourPrice = !is TasksPayment && !in ventory . hasTasksSubscription
} else {
binding . slider . value = savedInstanceState . getFloat ( EXTRA _PRICE )
priceChanged = savedInstanceState . getBoolean ( EXTRA _PRICE _CHANGED )
@ -129,14 +129,14 @@ class PurchaseDialog : DialogFragment(), OnPurchasesUpdated {
benefits += if ( nameYourPrice ) {
"""
-- -
# # # # ~ ~ $ { getString ( R . string . upgrade_ tasks_account ) } ~ ~
# # # # ~ ~ $ { getString ( R . string . tasks_org _account ) } ~ ~
_ $ { getString ( R . string . upgrade_tasks _no _account ) } _
_ $ { getString ( R . string . account_not _included ) } _
"""
} else {
"""
-- -
# # # # $ { getString ( R . string . upgrade_ tasks_account ) }
# # # # $ { getString ( R . string . tasks_org _account ) }
* $ { getString ( R . string . tasks _org _description ) }
* [ $ { getString ( R . string . upgrade _third _party _apps ) } ] ( $ { getString ( R . string . url _app _passwords ) } )
* [ $ { getString ( R . string . upgrade _coming _soon ) } ] ( $ { getString ( R . string . help _url _sync ) } )
@ -221,8 +221,8 @@ _${getString(R.string.upgrade_tasks_no_account)}_
binding . payOther . isVisible = !is WaitScreen
binding . payOther . setText ( when {
isTasksPayment -> R . string . cancel
nameYourPrice -> R . string . up grad e_tasks _account
else -> R . string . back
nameYourPrice -> R . string . get _tasks _org _account
else -> R . string . name_your _price
} )
binding . tasksOrgButtonPanel . isVisible = !is WaitScreen && ! generic
binding . screenWait . isVisible = isWaitScreen && ! generic