improved disabling number shortening

This commit is contained in:
gdlbo
2022-06-10 17:26:40 +03:00
parent 72001373b9
commit 083dc40ad9
2 changed files with 27 additions and 1 deletions
@@ -106,8 +106,21 @@
.end method .end method
.method private static a(I)Ljava/lang/CharSequence; .method private static a(I)Ljava/lang/CharSequence;
.locals 2 .locals 3
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->shortinfo()Z
move-result v1
if-nez v1, :cond_2
invoke-static {p0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_2
const v0, 0xf4240 const v0, 0xf4240
if-lt p0, v0, :cond_0 if-lt p0, v0, :cond_0
@@ -418,6 +418,19 @@
.method private final a(I)Ljava/lang/String; .method private final a(I)Ljava/lang/String;
.locals 4 .locals 4
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->shortinfo()Z
move-result v1
if-nez v1, :cond_2
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
return-object p1
:cond_2
const v0, 0x989680 const v0, 0x989680
if-le p1, v0, :cond_0 if-le p1, v0, :cond_0