Fixed some translations + fixed settings logic
This commit is contained in:
@@ -15130,10 +15130,10 @@ public final class R {
|
||||
public static final int proxy_login_title = 0x7f1112b6;
|
||||
public static final int proxy_password_title = 0x7f1112b7;
|
||||
public static final int vkx_download = 0x7f1112b8;
|
||||
public static final int vkx_fix_music = 0x7f1112b9;
|
||||
public static final int vkx_fix_music_summary = 0x7f1112ba;
|
||||
public static final int vk_fix_music = 0x7f1112b9;
|
||||
public static final int vk_fix_music_summary = 0x7f1112ba;
|
||||
public static final int vkx_integration = 0x7f1112bb;
|
||||
public static final int vkx_other = 0x7f1112bc;
|
||||
public static final int vk_fix_music_other = 0x7f1112bc;
|
||||
public static final int vkx_title = 0x7f1112bd;
|
||||
public static final int vkx_why = 0x7f1112be;
|
||||
public static final int vkx_why_summary = 0x7f1112bf;
|
||||
|
||||
@@ -43,7 +43,7 @@ public class DeletedMessagesHandler {
|
||||
}
|
||||
|
||||
public static boolean hook() {
|
||||
return getBoolValue("undeletemsg", false);
|
||||
return getBoolValue("undeletemsg", true);
|
||||
}
|
||||
|
||||
public static void setBodyDBParser(Msg msg) {
|
||||
|
||||
@@ -108,16 +108,16 @@ public class Newsfeed {
|
||||
} // json newsfeed/posts injector to detect and delete posts
|
||||
|
||||
public static boolean authors_rec(String str) {
|
||||
return str.equals("authors_rec") && !authorsrecomm();
|
||||
return str.equals("authors_rec") && authorsrecomm();
|
||||
}
|
||||
|
||||
public static boolean captions(JSONObject jSONObject) {
|
||||
try {
|
||||
JSONObject jSONObject2 = jSONObject.getJSONObject("caption");
|
||||
if (!Preferences.captions()) {
|
||||
if (Preferences.captions()) {
|
||||
return true;
|
||||
}
|
||||
return (jSONObject2.getString(NavigatorKeys.j).equals("explorebait") && !postsrecomm()) || ((jSONObject2.getString(NavigatorKeys.j).equals("shared") && postsrecomm()) || ((jSONObject.getString(NavigatorKeys.j).equals("digest") && postsrecomm()) || ((jSONObject2.getString(NavigatorKeys.j).equals("commented") && postsrecomm()) || (jSONObject2.getString(NavigatorKeys.j).equals("voted") && postsrecomm()))));
|
||||
return (jSONObject2.getString(NavigatorKeys.j).equals("explorebait") && postsrecomm()) || ((jSONObject2.getString(NavigatorKeys.j).equals("shared") && !postsrecomm()) || ((jSONObject.getString(NavigatorKeys.j).equals("digest") && !postsrecomm()) || ((jSONObject2.getString(NavigatorKeys.j).equals("commented") && !postsrecomm()) || (jSONObject2.getString(NavigatorKeys.j).equals("voted") && !postsrecomm()))));
|
||||
} catch (JSONException unused) {
|
||||
return false;
|
||||
}
|
||||
@@ -131,11 +131,11 @@ public class Newsfeed {
|
||||
}
|
||||
|
||||
public static boolean recomm(String str) {
|
||||
return (str.equals("user_rec") || str.equals("live_recommended") || str.equals("inline_user_rec")) && !postsrecomm();
|
||||
return (str.equals("user_rec") || str.equals("live_recommended") || str.equals("inline_user_rec")) && postsrecomm();
|
||||
}
|
||||
|
||||
public static boolean friendrecomm(String str) {
|
||||
return str.equals("friends_recommendations") && !friendsrecomm();
|
||||
return str.equals("friends_recommendations") && friendsrecomm();
|
||||
}
|
||||
|
||||
public static boolean AD(JSONObject jSONObject) {
|
||||
@@ -147,15 +147,15 @@ public class Newsfeed {
|
||||
}
|
||||
|
||||
public static String friendsads() {
|
||||
return postsrecomm() ? "user_rec" : "null";
|
||||
return !postsrecomm() ? "user_rec" : "null";
|
||||
}
|
||||
|
||||
public static String getFriendRecomm() {
|
||||
return friendsrecomm() ? "friends_recommendations" : "null";
|
||||
return !friendsrecomm() ? "friends_recommendations" : "null";
|
||||
}
|
||||
|
||||
public static String authorsads() {
|
||||
return authorsrecomm() ? "authors_rec" : "null";
|
||||
return !authorsrecomm() ? "authors_rec" : "null";
|
||||
}
|
||||
|
||||
public static String widgetads() {
|
||||
|
||||
@@ -59,11 +59,11 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public static boolean authorsrecomm() {
|
||||
return getBoolValue("authorsrecomm", true);
|
||||
return getBoolValue("authorsrecomm", false);
|
||||
}
|
||||
|
||||
public static boolean captions() {
|
||||
return getBoolValue("captions", true);
|
||||
return getBoolValue("captions", false);
|
||||
}
|
||||
|
||||
public static boolean copyright_post() {
|
||||
@@ -79,7 +79,7 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public static boolean friendsrecomm() {
|
||||
return getBoolValue("friendsrecomm", true);
|
||||
return getBoolValue("friendsrecomm", false);
|
||||
}
|
||||
|
||||
public static boolean isBGStickersEnabled() {
|
||||
@@ -175,7 +175,7 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public static void forceOffline() {
|
||||
if (setoffline()) {
|
||||
if (setoffline() && !offline()) {
|
||||
Users.b();
|
||||
}
|
||||
setupFilters();
|
||||
@@ -234,7 +234,7 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public static boolean postsrecomm() {
|
||||
return getBoolValue("postsrecomm", true);
|
||||
return getBoolValue("postsrecomm", false);
|
||||
}
|
||||
|
||||
public static String readstatus() {
|
||||
@@ -250,7 +250,7 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public static boolean setoffline() {
|
||||
return getBoolValue("setoffline", false);
|
||||
return getBoolValue("setoffline", true);
|
||||
}
|
||||
|
||||
public static boolean shortinfo() {
|
||||
|
||||
Reference in New Issue
Block a user