diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f3f1e24e..2cada84a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -157,6 +157,8 @@ android { } dependencies { + detektPlugins("io.nlopez.compose.rules:detekt:0.4.17") + lintChecks("com.slack.lint.compose:compose-lint-checks:1.4.2") implementation("androidx.appcompat:appcompat:1.7.0") implementation("androidx.activity:activity-ktx:1.9.2") implementation("androidx.navigation:navigation-fragment-ktx:2.8.0") diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3b4573a6..790e1658 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -28,25 +28,6 @@ - - - - - - - - - - diff --git a/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt b/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt index b086a90e..4972c35d 100644 --- a/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt @@ -14,16 +14,14 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.font.FontWeight -import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import be.scri.R -import be.scri.ui.theme.ScribeTheme import be.scri.ui.theme.ScribeTypography @SuppressLint("UnusedMaterial3ScaffoldPaddingParameter") @Composable -fun ThirdPartyScreen() { - Scaffold(modifier = Modifier.fillMaxSize()) { +fun ThirdPartyScreen(modifier: Modifier = Modifier) { + Scaffold(modifier = modifier.fillMaxSize()) { Column( modifier = Modifier @@ -68,19 +66,3 @@ fun ThirdPartyScreen() { } } } - -@Preview -@Composable -fun ThirdPartyScreenPreviewDark() { - ScribeTheme(useDarkTheme = true) { - ThirdPartyScreen() - } -} - -@Preview -@Composable -fun ThirdPartyScreenPreviewLight() { - ScribeTheme(useDarkTheme = false) { - ThirdPartyScreen() - } -} diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 2bd7192c..fda894f7 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -181,16 +181,6 @@ false - - - -