Bug 1812461 - Add option to hide CFRPopup dismissal button
commit9ab08a358c92ae89d27f4564f57d40d619621a46
authorDreVla <vlad.dreghici@gmail.com>
Tue, 28 Mar 2023 09:44:17 +0000 (28 12:44 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 14 Sep 2023 15:13:08 +0000 (14 15:13 +0000)
treec02e489767b10b73e07765e7810828602e00e54d
parente36f3c5d83f5a8c87edd521833f5e3fe7334903b
Bug 1812461 - Add option to hide CFRPopup dismissal button

Since we migrated the `privateBrowsingRecommend` to CFRPopup,
this popup has a `No thanks` dismiss button, therefore not
requiring the classic X dismiss button. This change adds
a parameter with which we are able to control if we
want to show the X button or not in a CFRPopup.
mobile/android/android-components/components/compose/cfr/src/main/java/mozilla/components/compose/cfr/CFRPopup.kt
mobile/android/android-components/components/compose/cfr/src/main/java/mozilla/components/compose/cfr/CFRPopupContent.kt
mobile/android/android-components/components/compose/cfr/src/main/java/mozilla/components/compose/cfr/CFRPopupFullscreenLayout.kt