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:
@@ -64,6 +64,7 @@ dependencies {
|
||||
|
||||
// Lifecycle service
|
||||
implementation(libs.lifecycle.service)
|
||||
implementation(libs.lifecycle.runtime.compose)
|
||||
|
||||
// Navigation
|
||||
implementation(libs.navigation.compose)
|
||||
|
||||
Reference in New Issue
Block a user