1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-05 01:40:08 +01:00

WS Relay payload type fix (#781)

Payload should be Base64 string, not a number.
This commit is contained in:
Legend 2022-03-27 17:12:50 +03:00 committed by luvletter2333
parent 9969037be2
commit 0aabf18b0c
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -238,7 +238,7 @@ public class WsSettingsActivity extends BaseFragment {
break;
case 1:
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.setText(currentBean.getPayloadStr());
break;