Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e990bf30 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "NFC: Reset Tap&pay summary text if default payment is not set"

parents 46f7199c a322f6ea
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -116,10 +116,11 @@ public class PaymentSettings extends SettingsPreferenceFragment {
                PaymentBackend paymentBackend = new PaymentBackend(mContext);
                paymentBackend.refresh();
                PaymentAppInfo app = paymentBackend.getDefaultApp();
                String summary = null;
                if (app != null) {
                    mSummaryLoader.setSummary(this, mContext.getString(R.string.payment_summary,
                            app.label));
                    summary = mContext.getString(R.string.payment_summary, app.label);
                }
                mSummaryLoader.setSummary(this, summary);
            }
        }
    }