From 9ae1c0c1bb0de37ccf38ba3f3a4026d603fd3e29 Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Wed, 20 Jul 2022 23:12:28 +0300 Subject: [PATCH] fix superapp --- app/src/main/java/ru/vtosters/lite/utils/Globals.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/ru/vtosters/lite/utils/Globals.java b/app/src/main/java/ru/vtosters/lite/utils/Globals.java index 74ffa9214..eec027529 100644 --- a/app/src/main/java/ru/vtosters/lite/utils/Globals.java +++ b/app/src/main/java/ru/vtosters/lite/utils/Globals.java @@ -96,6 +96,10 @@ public class Globals{ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { NotificationChannels.createChannels(); } + + if (getPrefsValue("superapp_items").isEmpty()) { + edit().putString("superapp_items", "menu,promo,miniapps,vkpay_slim,greeting,holiday,weather,sport,games,informer,food,event,music,vk_run").commit(); + } // VKIDProtection.alert(activity); }