1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00

remove useless code

This commit is contained in:
luvletter2333 2021-04-25 01:56:04 +08:00
parent e0f548e3e0
commit 4e07c7f573
No known key found for this signature in database
GPG Key ID: BFD68B892BECC1D8

View File

@ -2535,7 +2535,7 @@ public boolean retriedToSend;
AlertsCreator.showOpenUrlAlert(parentFragment, button.url, false, true);
}
} else if (button instanceof TLRPC.TL_keyboardButtonBuy) {
AndroidUtilities.runOnUIThread(() -> Toast.makeText(ApplicationLoader.applicationContext, R.string.nekoXPaymentRemovedToast, Toast.LENGTH_SHORT).show());
Toast.makeText(ApplicationLoader.applicationContext, R.string.nekoXPaymentRemovedToast, Toast.LENGTH_SHORT).show();
// NekoX: The payment function has been removed.
} else {
TLRPC.TL_messages_botCallbackAnswer res = (TLRPC.TL_messages_botCallbackAnswer) response;