diff --git a/feature/wallet/widget/src/main/kotlin/ru/resodostudios/cashsense/wallet/widget/ui/WalletWidget.kt b/feature/wallet/widget/src/main/kotlin/ru/resodostudios/cashsense/wallet/widget/ui/WalletWidget.kt index fc73852f..2eb06ffa 100644 --- a/feature/wallet/widget/src/main/kotlin/ru/resodostudios/cashsense/wallet/widget/ui/WalletWidget.kt +++ b/feature/wallet/widget/src/main/kotlin/ru/resodostudios/cashsense/wallet/widget/ui/WalletWidget.kt @@ -48,7 +48,6 @@ import ru.resodostudios.cashsense.core.util.Constants.DEEP_LINK_SCHEME_AND_HOST import ru.resodostudios.cashsense.core.util.Constants.HOME_PATH import ru.resodostudios.cashsense.core.util.Constants.TARGET_ACTIVITY_NAME import ru.resodostudios.cashsense.wallet.widget.WalletWidgetEntryPoint -import kotlin.uuid.Uuid import ru.resodostudios.cashsense.core.locales.R as localesR class WalletWidget : GlanceAppWidget() { @@ -94,8 +93,7 @@ private fun WalletWidgetContent(wallets: List) { items( items = wallets, itemId = { walletPopulated -> - Uuid.parse(walletPopulated.wallet.id) - .toLongs { mostSignificantBits, _ -> mostSignificantBits } + walletPopulated.wallet.id.hashCode().toLong() } ) { walletPopulated -> val currentBalance = walletPopulated.transactionsWithCategories diff --git a/mobile/build.gradle.kts b/mobile/build.gradle.kts index ffbd0a49..5211887b 100644 --- a/mobile/build.gradle.kts +++ b/mobile/build.gradle.kts @@ -13,8 +13,8 @@ plugins { android { defaultConfig { applicationId = "ru.resodostudios.cashsense" - versionCode = 28 - versionName = "1.1.1" + versionCode = 29 + versionName = "1.1.2" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables {