Fix unlimited faved stickers

This commit is contained in:
NekoInverter 2020-04-18 09:24:49 +08:00
parent f1f86c5fa7
commit ade4ff842a
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
3 changed files with 5 additions and 2 deletions

View File

@ -301,7 +301,7 @@ android {
}
}
defaultConfig.versionCode = 10 * 1915
defaultConfig.versionCode = 10 * 1916
def tgVoipDexFileName = "libtgvoip.dex"
def tgVoipDexClasses = ["AudioRecordJNI", "AudioTrackJNI", "NativeTgVoipDelegate", "NativeTgVoipInstance", "TgVoipNativeLoader", "Resampler", "VLog"]

View File

@ -19,7 +19,7 @@ public class BuildVars {
public static boolean USE_CLOUD_STRINGS = true;
public static boolean CHECK_UPDATES = true;
public static boolean TON_WALLET_STANDALONE = false;
public static int BUILD_VERSION = 1915;
public static int BUILD_VERSION = 1916;
public static String BUILD_VERSION_STRING = "6.0.1.3";
public static int APP_ID = 336779;
public static String APP_HASH = "b91eefacc86747c068c8d8a16b41500d";

View File

@ -677,6 +677,9 @@ public class MediaDataController extends BaseController {
}
public void loadRecents(final int type, final boolean gif, boolean cache, boolean force) {
if (NekoConfig.unlimitedFavedStickers && type == TYPE_FAVE && !cache) {
return;
}
if (gif) {
if (loadingRecentGifs) {
return;