Kaynağa Gözat

Obfuscation issue

Carles Sentis 9 ay önce
ebeveyn
işleme
daae78be35

+ 2 - 2
app/build.gradle.kts

@@ -16,8 +16,8 @@ android {
         applicationId = "com.arklan.weather"
         minSdk = ConfigData.minSdk
         targetSdk = ConfigData.targetSdk
-        versionCode = 14
-        versionName = "2.4"
+        versionCode = 15
+        versionName = "2.5"
         setProperty("archivesBaseName", "weekly-weather-v$versionName.$versionCode")
 
         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

+ 1 - 1
build.gradle.kts

@@ -8,5 +8,5 @@ plugins {
 }
 
 tasks.register("clean", Delete::class) {
-    delete(rootProject.buildDir)
+    delete(rootProject.layout.buildDirectory)
 }

+ 3 - 2
core/local/src/main/java/com/codeskraps/core/local/data/db/GeocodingDB.kt

@@ -6,9 +6,10 @@ import com.codeskraps.core.local.data.model.GeoLocationEntity
 
 @Database(
     entities = [GeoLocationEntity::class],
-    version = 1
+    version = 1,
+    exportSchema = false
 )
 abstract class GeocodingDB: RoomDatabase() {
 
-    abstract fun geocodingDao(): com.codeskraps.core.local.data.db.GeocodingDao
+    abstract fun geocodingDao(): GeocodingDao
 }

+ 9 - 2
feature/geocoding/src/main/java/com/codeskraps/feature/geocoding/presentation/components/GeocodingScreen.kt

@@ -7,15 +7,18 @@ import androidx.compose.foundation.layout.Arrangement
 import androidx.compose.foundation.layout.Box
 import androidx.compose.foundation.layout.Column
 import androidx.compose.foundation.layout.Row
+import androidx.compose.foundation.layout.Spacer
 import androidx.compose.foundation.layout.fillMaxHeight
 import androidx.compose.foundation.layout.fillMaxSize
 import androidx.compose.foundation.layout.fillMaxWidth
+import androidx.compose.foundation.layout.height
 import androidx.compose.foundation.layout.padding
 import androidx.compose.foundation.lazy.LazyColumn
 import androidx.compose.foundation.lazy.itemsIndexed
 import androidx.compose.foundation.text.KeyboardActions
 import androidx.compose.foundation.text.KeyboardOptions
 import androidx.compose.material.icons.Icons
+import androidx.compose.material.icons.automirrored.filled.ArrowBack
 import androidx.compose.material.icons.filled.ArrowBack
 import androidx.compose.material.icons.filled.Favorite
 import androidx.compose.material.icons.filled.FavoriteBorder
@@ -91,7 +94,7 @@ fun GeocodingScreen(
                 navigationIcon = {
                     IconButton(onClick = { navUp() }) {
                         Icon(
-                            Icons.Default.ArrowBack,
+                            Icons.AutoMirrored.Filled.ArrowBack,
                             tint = MaterialTheme.colorScheme.primary,
                             contentDescription = resources.getString(R.string.back)
                         )
@@ -200,7 +203,11 @@ fun GeocodingScreen(
                                     )
                                 }
                                 if (index < state.geoLocations.lastIndex)
-                                    Divider(color = Color.Black, thickness = 1.dp)
+                                    Spacer(
+                                        modifier = Modifier
+                                            .background(color = Color.Black)
+                                            .height(1.dp)
+                                    )
                             }
                         }
                     }

+ 2 - 2
feature/maps/src/main/java/com/codeskraps/maps/presentation/components/MapScreen.kt

@@ -9,8 +9,8 @@ import androidx.compose.foundation.layout.Box
 import androidx.compose.foundation.layout.fillMaxSize
 import androidx.compose.foundation.layout.padding
 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.Place
 import androidx.compose.material3.CircularProgressIndicator
 import androidx.compose.material3.ExperimentalMaterial3Api
@@ -84,7 +84,7 @@ fun MapScreen(
                 navigationIcon = {
                     IconButton(onClick = { navRoute(Screen.Weather.route) }) {
                         Icon(
-                            Icons.Default.ArrowBack,
+                            Icons.AutoMirrored.Filled.ArrowBack,
                             tint = MaterialTheme.colorScheme.primary,
                             contentDescription = resources.getString(R.string.back)
                         )