Skip to content

Commit

Permalink
Adding extra-text
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshad09 committed Jan 6, 2021
1 parent 58f53b9 commit d2195db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ private void shareQr(Uri uri) {
if (uri != null) {
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_STREAM, uri);
intent.putExtra(Intent.EXTRA_TEXT, getResources().getString(R.string.scan_mifos_qr));
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
intent.setType("image/png");
intent = Intent.createChooser(intent, "Share Qr code");
Expand Down
1 change: 1 addition & 0 deletions mifospay/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@
<string name="enter_VPA">Please enter the VPA</string>
<string name="amount_header">Amount:</string>
<string name="deleted_successfully">Deleted Successfully</string>
<string name="scan_mifos_qr">Scan this QR code to pay through Mifos Pay</string>

<!-- dynamically formatted strings-->
<string name="name_client_name">Name: %1$s</string>
Expand Down

0 comments on commit d2195db

Please sign in to comment.