feat: added closing card code after pause
This commit is contained in:
@@ -62,6 +62,8 @@ class ShowCardActivity : ComponentActivity() {
|
||||
super.onPause()
|
||||
|
||||
setBrightness(WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE)
|
||||
|
||||
finish()
|
||||
}
|
||||
|
||||
private fun setBrightness(level: Float) {
|
||||
|
||||
Reference in New Issue
Block a user