Skip to content

Commit

Permalink
ReportIssueDialogFragment: Fix asynchronous loading of wallet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schildbach committed Apr 21, 2018
1 parent 26c00fa commit 4dacf62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void onDismiss(final DialogInterface dialog) {
super.onDismiss(dialog);
}

private static void appendApplicationInfo(final Appendable report, final WalletApplication application)
private void appendApplicationInfo(final Appendable report, final WalletApplication application)
throws IOException {
final PackageInfo pi = application.packageInfo();
final Configuration configuration = application.getConfiguration();
Expand Down Expand Up @@ -201,7 +201,7 @@ private static void appendApplicationInfo(final Appendable report, final WalletA
+ (lastBackupTime > 0 ? String.format(Locale.US, "%tF %tT %tZ", calendar, calendar, calendar) : "none")
+ "\n");
report.append("Network: " + Constants.NETWORK_PARAMETERS.getId() + "\n");
final Wallet wallet = application.getWallet();
final Wallet wallet = viewModel.wallet.getValue();
report.append("Encrypted: " + wallet.isEncrypted() + "\n");
report.append("Keychain size: " + wallet.getKeyChainGroupSize() + "\n");

Expand Down

0 comments on commit 4dacf62

Please sign in to comment.