From 3b25010e59764d5da27b4f11adbf237778dcfade Mon Sep 17 00:00:00 2001 From: Nikita Bulavin Date: Thu, 14 Nov 2024 23:55:07 +0300 Subject: [PATCH] Update WalletWidget.kt --- .../ru/resodostudios/cashsense/wallet/widget/ui/WalletWidget.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ed01a77c..fc73852f 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 @@ -95,7 +95,7 @@ private fun WalletWidgetContent(wallets: List) { items = wallets, itemId = { walletPopulated -> Uuid.parse(walletPopulated.wallet.id) - .toLongs { mostSignificantBits, _ -> ((mostSignificantBits shr 12) and 0xF) } + .toLongs { mostSignificantBits, _ -> mostSignificantBits } } ) { walletPopulated -> val currentBalance = walletPopulated.transactionsWithCategories