mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
remove room database
This commit is contained in:
@ -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"
|
||||
|
||||
|
@ -51,7 +51,6 @@ class MainActivity : ComponentActivity() {
|
||||
composable("settings") {
|
||||
SettingsPage(
|
||||
navController = navController,
|
||||
promViewModel = promViewModel,
|
||||
)
|
||||
}
|
||||
composable("homepage") {
|
||||
|
@ -22,7 +22,6 @@ import androidx.navigation.NavHostController
|
||||
|
||||
@Composable
|
||||
fun SettingsPage(
|
||||
promViewModel: PromViewModel,
|
||||
navController: NavHostController,
|
||||
) {
|
||||
Column(
|
||||
|
Reference in New Issue
Block a user