Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sirekanian committed Feb 11, 2024
1 parent fa08a60 commit 164ced5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
isDebuggable = props.getProperty("DEBUGGABLE").toBoolean()
applicationIdSuffix = ".debug"
buildConfigField("boolean", "DEBUG", "true")
val debugServers = props.getProperty("DEBUG_SERVERS").split('|').map { "\"$it\"" }
val debugServers = props.getProperty("DEBUG_SERVERS", "").split('|').map { "\"$it\"" }
buildConfigField("String[]", "DEBUG_SERVERS", debugServers.joinToString(",", "{", "}"))
}
release {
Expand Down Expand Up @@ -76,7 +76,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.8"
kotlinCompilerExtensionVersion = "1.5.9"
}
packaging {
resources {
Expand All @@ -89,20 +89,20 @@ dependencies {

// compose
implementation("androidx.activity:activity-compose:1.8.2")
implementation("androidx.compose.material3:material3:1.1.2")
implementation("androidx.compose.material3:material3:1.2.0")

// ktor
implementation("io.ktor:ktor-client-okhttp:2.3.8")
implementation("io.ktor:ktor-client-content-negotiation:2.3.8")
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.8")
implementation("org.slf4j:slf4j-simple:2.0.11")
implementation("org.slf4j:slf4j-simple:2.0.12")

// sqldelight
implementation("app.cash.sqldelight:android-driver:2.0.1")
implementation("app.cash.sqldelight:coroutines-extensions:2.0.1")

// crash reporting
add("playImplementation", "com.google.firebase:firebase-crashlytics:18.6.1")
add("playImplementation", "com.google.firebase:firebase-crashlytics:18.6.2")

}

Expand Down
3 changes: 3 additions & 0 deletions app/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
<ignore regexp="`R\.string\.project_id` appears to be unused" />
<ignore regexp="`R\.string\.com_crashlytics_android_build_id` appears to be unused" />
</issue>
<issue id="ObsoleteLintCustomCheck">
<ignore regexp="androidx\.compose\.runtime\.lint\.RuntimeIssueRegistry" />
</issue>
</lint>
3 changes: 2 additions & 1 deletion app/src/main/java/org/sirekanyan/outline/MainContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.systemBars
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Delete
Expand Down Expand Up @@ -100,7 +101,7 @@ fun MainContent(state: MainState) {
MainTopAppBar(
title = { SearchField(search.query) { search.query = it } },
onMenuClick = search::closeSearch,
menuIcon = { Icon(Icons.Default.ArrowBack, "back") },
menuIcon = { Icon(Icons.AutoMirrored.Default.ArrowBack, "back") },
)
} else {
val menuItems: List<MenuItem> =
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/org/sirekanyan/outline/ui/DrawerContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import androidx.compose.material.icons.filled.Done
import androidx.compose.material.icons.filled.Info
import androidx.compose.material.icons.filled.Search
import androidx.compose.material.icons.filled.Warning
import androidx.compose.material3.Divider
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ModalDrawerSheet
Expand Down Expand Up @@ -134,7 +134,7 @@ private fun DrawerSheetContent(state: MainState, insets: PaddingValues) {
},
)
}
Divider(Modifier.padding(vertical = 8.dp))
HorizontalDivider(Modifier.padding(vertical = 8.dp))
val context = LocalContext.current
if (isDebugBuild()) {
val debugDao = remember { context.app().debugDao }
Expand Down

0 comments on commit 164ced5

Please sign in to comment.