Skip to content

Commit

Permalink
Merge pull request #48 from f33lnothin9/dev
Browse files Browse the repository at this point in the history
Fix item id initialization
  • Loading branch information
f33lnothin9 authored Nov 15, 2024
2 parents 3b25010 + cbe7e97 commit 180eed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -94,8 +93,7 @@ private fun WalletWidgetContent(wallets: List<ExtendedWallet>) {
items(
items = wallets,
itemId = { walletPopulated ->
Uuid.parse(walletPopulated.wallet.id)
.toLongs { mostSignificantBits, _ -> mostSignificantBits }
walletPopulated.wallet.id.hashCode().toLong()
}
) { walletPopulated ->
val currentBalance = walletPopulated.transactionsWithCategories
Expand Down
4 changes: 2 additions & 2 deletions mobile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 180eed2

Please sign in to comment.