Fix 'Name your price' button after sign in

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

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

Loading…
Cancel
Save