Convert SignalStore to kotlin.

This commit is contained in:
Greyson Parrelli
2024-06-20 11:30:30 -04:00
parent 341c474610
commit 863b443317
382 changed files with 1934 additions and 1952 deletions

View File

@@ -47,7 +47,7 @@ public class DeleteAccountViewModel extends ViewModel {
this.countryDisplayName = Transformations.map(regionCode, repository::getRegionDisplayName);
this.filteredCountries = Transformations.map(query, q -> Stream.of(allCountries).filter(country -> isMatch(q, country)).toList());
this.events = new SingleLiveEvent<>();
this.walletBalance = Transformations.map(SignalStore.paymentsValues().liveMobileCoinBalance(),
this.walletBalance = Transformations.map(SignalStore.payments().liveMobileCoinBalance(),
DeleteAccountViewModel::getFormattedWalletBalance);
}