mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-05 01:30:39 +01:00
WS Relay payload type fix (#781)
Payload should be Base64 string, not a number.
This commit is contained in:
parent
9969037be2
commit
0aabf18b0c
@ -238,7 +238,7 @@ public class WsSettingsActivity extends BaseFragment {
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
payloadField = cursor;
|
payloadField = cursor;
|
||||||
cursor.setInputType(InputType.TYPE_CLASS_NUMBER);
|
cursor.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
|
||||||
cursor.setHintText(LocaleController.getString("WsPayload", R.string.WsPayload));
|
cursor.setHintText(LocaleController.getString("WsPayload", R.string.WsPayload));
|
||||||
cursor.setText(currentBean.getPayloadStr());
|
cursor.setText(currentBean.getPayloadStr());
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user