diff --git a/client/app/build.gradle b/client/app/build.gradle index 66fc8c3..6c6dcdb 100644 --- a/client/app/build.gradle +++ b/client/app/build.gradle @@ -76,34 +76,6 @@ protobuf { dependencies { implementation 'androidx.core:core-ktx:1.10.1' - - // custom - room database ---------------------------------------------------------------------- - def room_version = "2.5.1" - - implementation "androidx.room:room-runtime:$room_version" - annotationProcessor "androidx.room:room-compiler:$room_version" - - // ksp room database annotations - ksp "androidx.room:room-compiler:$room_version" - - // optional - RxJava2 support for Room - implementation "androidx.room:room-rxjava2:$room_version" - - // optional - RxJava3 support for Room - implementation "androidx.room:room-rxjava3:$room_version" - - // optional - Guava support for Room, including Optional and ListenableFuture - implementation "androidx.room:room-guava:$room_version" - - // optional - Test helpers - testImplementation "androidx.room:room-testing:$room_version" - - // optional - Paging 3 Integration - implementation "androidx.room:room-paging:$room_version" - - // room database end --------------------------------------------------------------------------- - - // ktor implementation "io.ktor:ktor-client-android:2.3.0" diff --git a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/MainActivity.kt b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/MainActivity.kt index 0b4f900..eb52e40 100644 --- a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/MainActivity.kt +++ b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/MainActivity.kt @@ -51,7 +51,6 @@ class MainActivity : ComponentActivity() { composable("settings") { SettingsPage( navController = navController, - promViewModel = promViewModel, ) } composable("homepage") { diff --git a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/SettingsActivity.kt b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/SettingsActivity.kt index cdc65cc..4adfa64 100644 --- a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/SettingsActivity.kt +++ b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/SettingsActivity.kt @@ -22,7 +22,6 @@ import androidx.navigation.NavHostController @Composable fun SettingsPage( - promViewModel: PromViewModel, navController: NavHostController, ) { Column(