Forráskód Böngészése

Updated dependencies

Vadik Sirekanyan 2 éve
szülő
commit
164ced5777

+ 5 - 5
app/build.gradle.kts

@@ -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 {
@@ -76,7 +76,7 @@ android {
         compose = true
     }
     composeOptions {
-        kotlinCompilerExtensionVersion = "1.5.8"
+        kotlinCompilerExtensionVersion = "1.5.9"
     }
     packaging {
         resources {
@@ -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")
 
 }
 

+ 3 - 0
app/lint.xml

@@ -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>

+ 2 - 1
app/src/main/java/org/sirekanyan/outline/MainContent.kt

@@ -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
@@ -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> =

+ 2 - 2
app/src/main/java/org/sirekanyan/outline/ui/DrawerContent.kt

@@ -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
@@ -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 }