new vkpay lol
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package ru.vtosters.lite.ui.fragments;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.vk.core.fragments.FragmentImpl;
|
||||
import com.vk.navigation.Navigator;
|
||||
|
||||
import ru.vtosters.lite.utils.VKUIwrapper;
|
||||
|
||||
public class VKPayFragment extends FragmentImpl{
|
||||
@Override
|
||||
public void onCreate(Bundle bundle){
|
||||
super.onCreate(bundle);
|
||||
start();
|
||||
}
|
||||
|
||||
public void start() {
|
||||
VKUIwrapper.setLink("https://vk.com/vkpay");
|
||||
Intent a2 = new Navigator(VKUIwrapper.class).b(getActivity());
|
||||
a2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(a2);
|
||||
}
|
||||
}
|
||||
@@ -853,7 +853,7 @@
|
||||
.line 72
|
||||
sget-object p2, Lcom/vk/menu/MenuUtils;->c:Lcom/vk/menu/MenuUtils;
|
||||
|
||||
const-class v5, Lcom/vk/webapp/fragments/VkPayFragment;
|
||||
const-class v5, Lru/vtosters/lite/ui/fragments/VKPayFragment;
|
||||
|
||||
const-string v1, "vk_pay"
|
||||
|
||||
@@ -2543,7 +2543,7 @@
|
||||
invoke-virtual {v0, p1, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
||||
|
||||
.line 27
|
||||
const-class p1, Lcom/vk/webapp/fragments/VkPayFragment;
|
||||
const-class p1, Lru/vtosters/lite/ui/fragments/VKPayFragment;
|
||||
|
||||
invoke-static {v0, p1}, Lkotlin/Tuples;->a(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
|
||||
@@ -2834,6 +2834,30 @@
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Globals;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v8, Lcom/vk/navigation/Navigator;
|
||||
|
||||
const-class v0, Lru/vtosters/lite/ui/fragments/VKPayFragment;
|
||||
|
||||
invoke-direct {v8, v0}, Lcom/vk/navigation/Navigator;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {v8, v1}, Lcom/vk/navigation/Navigator;->b(Landroid/content/Context;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
const/high16 v0, 0x10000000
|
||||
|
||||
.line 15
|
||||
invoke-virtual {v8, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
return-void
|
||||
|
||||
.line 16
|
||||
invoke-virtual {v1, v8}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
||||
|
||||
.line 13
|
||||
sget-object v1, Lcom/vk/webapp/bridges/VkUiConnectBridge;->n:Lcom/vk/webapp/bridges/VkUiConnectBridge$a;
|
||||
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
.end method
|
||||
|
||||
.method private T(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
.locals 9
|
||||
|
||||
.line 1
|
||||
invoke-static {p1}, Lcom/vk/webapp/fragments/VkPayFragment;->P(Ljava/lang/String;)Z
|
||||
@@ -339,14 +339,27 @@
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
.line 3
|
||||
new-instance v0, Lcom/vk/webapp/fragments/VkPayFragment$a;
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Globals;->getContext()Landroid/content/Context;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/vk/webapp/fragments/VkPayFragment$a;-><init>(Ljava/lang/String;)V
|
||||
move-result-object v1
|
||||
|
||||
const/16 p1, 0x66
|
||||
new-instance v8, Lcom/vk/navigation/Navigator;
|
||||
|
||||
invoke-virtual {v0, p0, p1}, Lcom/vk/navigation/Navigator;->a(Lcom/vk/core/fragments/FragmentImpl;I)V
|
||||
const-class v0, Lru/vtosters/lite/ui/fragments/VKPayFragment;
|
||||
|
||||
invoke-direct {v8, v0}, Lcom/vk/navigation/Navigator;-><init>(Ljava/lang/Class;)V
|
||||
|
||||
invoke-virtual {v8, v1}, Lcom/vk/navigation/Navigator;->b(Landroid/content/Context;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
const/high16 v0, 0x10000000
|
||||
|
||||
.line 15
|
||||
invoke-virtual {v8, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
.line 16
|
||||
invoke-virtual {v1, v8}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
|
||||
@@ -1985,7 +1985,7 @@
|
||||
|
||||
.line 34
|
||||
:cond_11
|
||||
instance-of v2, v0, Lcom/vk/webapp/fragments/VkPayFragment;
|
||||
instance-of v2, v0, Lru/vtosters/lite/ui/fragments/VKPayFragment;
|
||||
|
||||
if-eqz v2, :cond_12
|
||||
|
||||
|
||||
Reference in New Issue
Block a user