Skip to content

Commit 97727ad

Browse files
committed
display protocol
1 parent c6e07bb commit 97727ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/github/shadowsocks/ProfileManagerActivity.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic
145145
.setTitle(R.string.share)
146146
.create()
147147
// if (!isNfcAvailable) dialog.setMessage(getString(R.string.share_message_without_nfc))
148-
if (!isNfcAvailable) dialog.setMessage(item.name)
148+
if (!isNfcAvailable) dialog.setMessage(s"${item.proxy_protocol.capitalize}${item.name}")
149149
else if (!isNfcBeamEnabled) {
150150
dialog.setMessage(getString(R.string.share_message_nfc_disabled))
151151
dialog.setButton(DialogInterface.BUTTON_NEUTRAL, getString(R.string.turn_on_nfc),

0 commit comments

Comments
 (0)