Skip to content

Commit

Permalink
fix digipaws text after pressing cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
nethical6 committed Feb 13, 2025
1 parent c5096ff commit d59c170
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class WarningActivity : AppCompatActivity() {
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
startActivity(intent)
}
finishActivity(0)
finishAffinity()
}
binding.btnProceed.setOnClickListener {
if (mode == Constants.WARNING_SCREEN_MODE_VIEW_BLOCKER) {
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@

<style name="Theme.DigiPaws" parent="Base.Theme.DigiPaws" />

<style name="Theme.Digipaws.TransparentDialog" parent="Theme.Material3.Dark.Dialog.Alert">
<item name="android:windowBackground">@android:color/transparent</item>
<style name="Theme.Digipaws.TransparentDialog" parent="Theme.Material3.DayNight">
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsFloating">true</item>
</style>

</resources>

0 comments on commit d59c170

Please sign in to comment.