Fix 'Name your price' button after sign in

pull/1281/head
Alex Baker 5 years ago
parent aa569ca80b
commit e41ef826b8

@ -195,14 +195,10 @@ _${getString(R.string.upgrade_tasks_no_account)}_
@OnClick(R.id.pay_other) @OnClick(R.id.pay_other)
fun nameYourPrice() { fun nameYourPrice() {
if (isTasksPayment) { nameYourPrice = !nameYourPrice
dismiss() setWaitScreen(false)
} else { binding.scroll.scrollTo(0, 0)
nameYourPrice = !nameYourPrice updateSubscribeButton()
setWaitScreen(false)
binding.scroll.scrollTo(0, 0)
updateSubscribeButton()
}
} }
override fun onSaveInstanceState(outState: Bundle) { override fun onSaveInstanceState(outState: Bundle) {

Loading…
Cancel
Save