Skip to content

Commit

Permalink
display protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf098 committed Feb 24, 2023
1 parent c6e07bb commit 97727ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic
.setTitle(R.string.share)
.create()
// if (!isNfcAvailable) dialog.setMessage(getString(R.string.share_message_without_nfc))
if (!isNfcAvailable) dialog.setMessage(item.name)
if (!isNfcAvailable) dialog.setMessage(s"${item.proxy_protocol.capitalize}${item.name}")
else if (!isNfcBeamEnabled) {
dialog.setMessage(getString(R.string.share_message_nfc_disabled))
dialog.setButton(DialogInterface.BUTTON_NEUTRAL, getString(R.string.turn_on_nfc),
Expand Down

0 comments on commit 97727ad

Please sign in to comment.