Skip to content

Commit

Permalink
Merge pull request #49 from muun/46.10-release-branch
Browse files Browse the repository at this point in the history
Release source code for 46.10
  • Loading branch information
acrespo committed Sep 22, 2021
2 parents 8921433 + bf4fa4c commit e4220f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/apolloui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ android {
applicationId "io.muun.apollo"
minSdkVersion 19
targetSdkVersion 30
versionCode 609
versionName "46.9"
versionCode 610
versionName "46.10"

// Needed to make sure these classes are available in the main DEX file for API 19
// See: https://spin.atomicobject.com/2018/07/16/support-kitkat-multidex/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import butterknife.OnClick;
import icepick.State;

import java.util.Locale;
import javax.money.MonetaryAmount;

public class NewOperationErrorFragment
Expand Down Expand Up @@ -66,8 +65,6 @@ private static Bundle createArguments(NewOperationErrorType errorType) {
@State
CurrencyDisplayMode mode;

Locale locale = io.muun.apollo.domain.utils.ExtensionsKt.locale(requireContext());

@Override
protected void inject() {
getComponent().inject(this);
Expand Down Expand Up @@ -292,7 +289,11 @@ private int getDescriptionRes(NewOperationErrorType errorType) {
}

private String formatLongMonetaryAmount(MonetaryAmount amount) {
return MoneyHelper.formatLongMonetaryAmount(amount, mode, locale);
return MoneyHelper.formatLongMonetaryAmount(
amount,
mode,
io.muun.apollo.domain.utils.ExtensionsKt.locale(requireContext())
);
}

@OnClick(R.id.exit)
Expand Down

0 comments on commit e4220f8

Please sign in to comment.