Skip to content

Commit

Permalink
don’t show sub button again on armoire rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Jul 3, 2024
1 parent a5544fd commit 415c634
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ class ArmoireActivity : BaseActivity() {
if (lastType != null) {
configure(lastType ?: "", lastKey ?: "", lastText ?: "", lastValue)
}
if (hasUsedExtraArmoire) {
if (binding.adButton.visibility == View.VISIBLE) {
binding.adButton.visibility = View.INVISIBLE
} else {
binding.openArmoireSubscriberWrapper.visibility = View.INVISIBLE
}
}
}

override fun onCreate(savedInstanceState: Bundle?) {
Expand Down

0 comments on commit 415c634

Please sign in to comment.