added pref disableanimstickers to debug
This commit is contained in:
@@ -334,6 +334,10 @@ public class Preferences {
|
||||
return getBoolValue("roundedmsgs", false);
|
||||
}
|
||||
|
||||
public static boolean disableanimstickers() {
|
||||
return getBoolValue("disableanimstickers", true);
|
||||
}
|
||||
|
||||
public static boolean donaterecomm() {
|
||||
return getBoolValue("donaterecomm", false);
|
||||
}
|
||||
|
||||
@@ -58,6 +58,10 @@
|
||||
android:entryValues="@array/lang_value"
|
||||
android:key="lang_value"
|
||||
android:title="@string/debug_experimental_language" />
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="disableanimstickers"
|
||||
android:title="Disable anim stickers + suggestions" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/debug_developer_functions">
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
|
||||
@@ -289,6 +289,17 @@
|
||||
.method private F()Z
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->disableanimstickers()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_228
|
||||
|
||||
const v0, 0x0 ## nedofix anim stickers
|
||||
|
||||
return v0
|
||||
|
||||
:cond_228
|
||||
const-string v0, "stickers"
|
||||
|
||||
const-string v1, "animation_enabled"
|
||||
@@ -298,8 +309,6 @@
|
||||
|
||||
move-result v0
|
||||
|
||||
const v0, 0x0 ## nedofix anim stickers
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
@@ -2551,6 +2560,17 @@
|
||||
.method public n()Z
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->disableanimstickers()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_228
|
||||
|
||||
const v0, 0x0 ## nedofix anim stickers
|
||||
|
||||
return v0
|
||||
|
||||
:cond_228
|
||||
const-string v0, "stickers"
|
||||
|
||||
const-string v1, "suggests_enabled"
|
||||
@@ -2560,8 +2580,6 @@
|
||||
|
||||
move-result v0
|
||||
|
||||
const v0, 0x0 ## nedofix anim stickers
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
||||
Reference in New Issue
Block a user