1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2025-01-19 06:00:10 +01:00

Disable share options for internal ws relay

This commit is contained in:
世界 2021-04-11 01:28:46 +08:00
parent fcbf91cb4a
commit 72ec881744
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -708,9 +708,9 @@ public class ProxyListActivity extends BaseFragment implements NotificationCente
builder.addItems(new String[]{
info.subId == 1 ? null : LocaleController.getString("EditProxy", R.string.EditProxy),
LocaleController.getString("ShareProxy", R.string.ShareProxy),
LocaleController.getString("ShareQRCode", R.string.ShareQRCode),
LocaleController.getString("CopyLink", R.string.CopyLink),
info.subId == 1 && info instanceof SharedConfig.WsProxy ? null : LocaleController.getString("ShareProxy", R.string.ShareProxy),
info.subId == 1 && info instanceof SharedConfig.WsProxy ? null : LocaleController.getString("ShareQRCode", R.string.ShareQRCode),
info.subId == 1 && info instanceof SharedConfig.WsProxy ? null : LocaleController.getString("CopyLink", R.string.CopyLink),
info.subId == 1 ? null : LocaleController.getString("ProxyDelete", R.string.ProxyDelete),
LocaleController.getString("Cancel", R.string.Cancel)