mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 04:34:21 +01:00
Convert SignalStore to kotlin.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user