Fix Settings UI reactivity, resolve compiler warnings, update .gitignore

- Make screen capture permission and battery optimization states reactive
- Add lifecycle observer to refresh battery status on resume
- Add lifecycle-runtime-compose dependency for non-deprecated LocalLifecycleOwner
- Replace deprecated LocalLifecycleOwner import
- Remove unused REQUEST_CODE constant
- Use KTX createBitmap() and bitmap[x,y] extensions
- Add misc.xml and junie.xml to .gitignore
This commit is contained in:
Somasundaram Mahesh
2026-02-18 07:47:28 +05:30
parent 792b42974f
commit 5207e4ea9b
6 changed files with 32 additions and 15 deletions

View File

@@ -64,6 +64,7 @@ dependencies {
// Lifecycle service
implementation(libs.lifecycle.service)
implementation(libs.lifecycle.runtime.compose)
// Navigation
implementation(libs.navigation.compose)