some hooks updates
This commit is contained in:
@@ -534,9 +534,7 @@
|
||||
|
||||
.line 7
|
||||
:cond_3
|
||||
sget p1, Lcom/vk/catalog2/core/l;->accent:I
|
||||
|
||||
invoke-static {p1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
||||
@@ -85,9 +85,7 @@
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
.line 3
|
||||
sget p3, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {p3}, Lcom/vk/core/ui/themes/VKThemeHelper;->g(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p3
|
||||
|
||||
|
||||
@@ -213,9 +213,7 @@
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
.line 3
|
||||
sget p2, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {p2}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p4
|
||||
|
||||
@@ -488,9 +486,7 @@
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
.line 3
|
||||
sget p2, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {p2}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p4
|
||||
|
||||
|
||||
@@ -1678,9 +1678,7 @@
|
||||
new-array v0, v0, [I
|
||||
|
||||
.line 43
|
||||
sget v1, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
||||
@@ -1188,9 +1188,7 @@
|
||||
aput v1, v0, v3
|
||||
|
||||
.line 84
|
||||
sget v1, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
@@ -1214,9 +1212,7 @@
|
||||
aput v1, v0, v2
|
||||
|
||||
.line 86
|
||||
sget v1, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
@@ -2577,9 +2573,7 @@
|
||||
const/4 v1, 0x3
|
||||
|
||||
.line 4
|
||||
sget v2, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v2}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v2
|
||||
|
||||
@@ -2613,9 +2607,7 @@
|
||||
aput v1, v0, v2
|
||||
|
||||
.line 2
|
||||
sget v1, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
@@ -2641,9 +2633,7 @@
|
||||
aput v1, v0, v2
|
||||
|
||||
.line 4
|
||||
sget v1, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
||||
@@ -217,9 +217,7 @@
|
||||
.line 15
|
||||
sget v5, Lb/h/z/m;->BottomConfirmButton_bcb_send_bg_color:I
|
||||
|
||||
sget v6, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1, v6}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v6
|
||||
|
||||
@@ -243,9 +241,7 @@
|
||||
.line 17
|
||||
sget v7, Lb/h/z/m;->BottomConfirmButton_bcb_cancel_bg_color:I
|
||||
|
||||
sget v8, Lb/h/z/b;->accent:I
|
||||
|
||||
invoke-static {v1, v8}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v8
|
||||
|
||||
|
||||
+1
-3
@@ -327,9 +327,7 @@
|
||||
.line 30
|
||||
iget-object p3, p0, Lcom/vk/im/ui/components/audio_msg_player/AudioMsgPlayerVc;->a:Landroid/content/Context;
|
||||
|
||||
sget p4, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {p3, p4}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p3
|
||||
|
||||
|
||||
@@ -174,9 +174,7 @@
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {p2, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p2
|
||||
|
||||
|
||||
+1
-3
@@ -479,9 +479,7 @@
|
||||
.line 18
|
||||
iget-object v0, p0, Lcom/vk/im/ui/components/install_vk_me/VkMePromoController;->a:Landroid/content/Context;
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {v0, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -810,11 +810,7 @@
|
||||
.locals 2
|
||||
|
||||
.line 1
|
||||
iget-object v0, p0, Lcom/vk/im/ui/components/msg_send/recording/AudioRecordVc;->G:Lcom/vk/im/ui/themes/DialogThemeBinder;
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/vk/im/ui/themes/DialogThemeBinder;->a(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
+1
-3
@@ -3048,9 +3048,7 @@
|
||||
.line 3
|
||||
iget-object v0, p0, Lcom/vk/im/ui/components/viewcontrollers/msg_list/adapter/vh/VhMsg;->O:Landroid/graphics/drawable/Drawable;
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
||||
@@ -81,9 +81,7 @@
|
||||
invoke-virtual {v1, v2}, Landroid/graphics/drawable/GradientDrawable;->setShape(I)V
|
||||
|
||||
.line 6
|
||||
sget v3, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {p1, v3}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v3
|
||||
|
||||
|
||||
@@ -107,9 +107,7 @@
|
||||
new-instance v28, Lcom/vk/im/engine/models/dialogs/BubbleColors;
|
||||
|
||||
.line 19
|
||||
sget v1, Lcom/vk/im/engine/h;->accent:I
|
||||
|
||||
invoke-static {v0, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v2
|
||||
|
||||
@@ -286,9 +284,7 @@
|
||||
move-result v19
|
||||
|
||||
.line 40
|
||||
sget v1, Lcom/vk/im/engine/h;->accent:I
|
||||
|
||||
invoke-static {v0, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v17
|
||||
|
||||
@@ -377,9 +373,7 @@
|
||||
invoke-direct {v7}, Landroid/util/SparseIntArray;-><init>()V
|
||||
|
||||
.line 8
|
||||
sget v8, Lcom/vk/im/engine/h;->accent:I
|
||||
|
||||
invoke-static {v6, v8}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v9
|
||||
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
.method public static final a(Lcom/vk/im/engine/models/dialogs/DialogTheme;)I
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
|
||||
.line 1
|
||||
invoke-static {}, Lcom/vk/core/ui/themes/VKThemeHelper;->l()Lcom/vk/core/ui/themes/VKTheme;
|
||||
|
||||
|
||||
@@ -494,6 +494,16 @@
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-static {p1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
.line 14
|
||||
|
||||
@@ -182,9 +182,7 @@
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {v0, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -876,9 +876,7 @@
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
sget v1, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {v1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
||||
@@ -906,9 +906,7 @@
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
sget v2, Lcom/vk/im/ui/c;->accent:I
|
||||
|
||||
invoke-static {v2}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v2
|
||||
|
||||
|
||||
@@ -245,9 +245,7 @@
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget v1, Lcom/vk/music/m/a;->accent:I
|
||||
|
||||
invoke-static {v0, v1}, Lcom/vk/core/util/ContextExtKt;->h(Landroid/content/Context;I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -177,10 +177,7 @@
|
||||
.method private final b()I
|
||||
.locals 1
|
||||
|
||||
.line 2
|
||||
sget v0, Lb/h/t/b;->accent:I
|
||||
|
||||
invoke-static {v0}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -37,9 +37,7 @@
|
||||
.locals 1
|
||||
|
||||
.line 4
|
||||
sget v0, Lb/h/t/b;->accent:I
|
||||
|
||||
invoke-static {v0}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
@@ -145,9 +143,7 @@
|
||||
.locals 1
|
||||
|
||||
.line 3
|
||||
sget v0, Lb/h/t/b;->accent:I
|
||||
|
||||
invoke-static {v0}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -270,9 +270,7 @@
|
||||
aput v0, p1, v4
|
||||
|
||||
.line 7
|
||||
sget v0, Lb/h/t/b;->accent:I
|
||||
|
||||
invoke-static {v0}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -98,9 +98,7 @@
|
||||
invoke-virtual {v0, p1}, Lcom/vk/emoji/EmojiKeyboardView;->setFastScrollBarColor(I)V
|
||||
|
||||
.line 9
|
||||
sget p1, Lcom/vk/stickers/f;->accent:I
|
||||
|
||||
invoke-static {p1}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
||||
+2
-6
@@ -151,9 +151,7 @@
|
||||
new-array v1, v1, [I
|
||||
|
||||
.line 2
|
||||
sget v4, Lcom/vk/stickers/f;->accent:I
|
||||
|
||||
invoke-static {v4}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v4
|
||||
|
||||
@@ -223,9 +221,7 @@
|
||||
new-array v1, v1, [I
|
||||
|
||||
.line 2
|
||||
sget v4, Lcom/vk/stickers/f;->accent:I
|
||||
|
||||
invoke-static {v4}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v4
|
||||
|
||||
|
||||
@@ -237,9 +237,7 @@
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sget v0, Lcom/vk/stickers/f;->accent:I
|
||||
|
||||
invoke-static {v0}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
||||
@@ -719,10 +719,7 @@
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
sget v4, Lcom/vk/stickers/f;->accent:I
|
||||
|
||||
.line 2
|
||||
invoke-static {v4}, Lcom/vk/core/ui/themes/VKThemeHelper;->d(I)I
|
||||
invoke-static {}, Lru/vtosters/lite/utils/ThemesUtils;->getAccentColor()I
|
||||
|
||||
move-result v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user