fixed some settings logic for stupid users
This commit is contained in:
@@ -105,7 +105,7 @@ public class VTSettings extends MaterialPreferenceToolbarFragment{
|
||||
String docksumm = getDocksumm();
|
||||
String musicsumm = getValAsString("vtlmusicsumm", isIntegrationEnabled());
|
||||
String msgsumm = getValAsString("vtlmsgsumm", vkme());
|
||||
String activitysumm = getValAsString("vtlactivitysumm", !offline());
|
||||
String activitysumm = getValAsString("vtlactivitysumm", offline());
|
||||
String themessumm = getValAsString("vtlthemessumm", navbar());
|
||||
String tgssumm = getTGSsumm();
|
||||
String interfacesumm = getValAsString("vtlinterfacesumm", shortinfo());
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Preferences{
|
||||
|
||||
edit().putBoolean("isdark", isDarkTheme()).commit();
|
||||
|
||||
if(setoffline() && !offline()){
|
||||
if(setoffline() && offline()){
|
||||
Users.a();
|
||||
}
|
||||
}
|
||||
@@ -193,7 +193,7 @@ public class Preferences{
|
||||
}
|
||||
|
||||
public static boolean dns(){
|
||||
return getBoolValue("dns", true);
|
||||
return getBoolValue("dns", false);
|
||||
}
|
||||
|
||||
public static boolean libverify(){
|
||||
@@ -257,7 +257,7 @@ public class Preferences{
|
||||
}
|
||||
|
||||
public static boolean offline(){
|
||||
return getBoolValue("offline", true);
|
||||
return getBoolValue("offline", false);
|
||||
}
|
||||
|
||||
public static boolean oldabout(){
|
||||
|
||||
@@ -5408,7 +5408,7 @@
|
||||
<string name="ctypedisabled">Не установлено</string>
|
||||
<string name="ctypesocks">Socks</string>
|
||||
<string name="dnr">Нечиталка</string>
|
||||
<string name="dns">Статус просмотра/прочтения историй</string>
|
||||
<string name="dns">Отключить статус прочтения</string>
|
||||
<string name="dnw">Неписалка</string>
|
||||
<string name="docknumbers">Счётчики в докбаре</string>
|
||||
<string name="docknumberssum">Отключение не работает в интерфейсе для планшетов</string>
|
||||
@@ -5539,9 +5539,9 @@
|
||||
<string name="useproxysum">Выберите вариант прокси</string>
|
||||
<string name="vkuiinj">Покраска веб страниц</string>
|
||||
<string name="vtlawayphpsummary">Слежка за пользователем для персонализации рекламы. Также проверка ссылок на блэклист от ВКонтакте и антивирус</string>
|
||||
<string name="vtloffline">Отправка статуса онлайн</string>
|
||||
<string name="vtloffline">Не отправлять статус онлайна</string>
|
||||
<string name="vtloffline2">Принудительный офлайн</string>
|
||||
<string name="vtloffline2summary">"Работает только при отключении отправки статуса онлайн
|
||||
<string name="vtloffline2summary">"Работает только при включении отправки статуса онлайн
|
||||
Отправляет мгновенно в офлайн после отправки сообщений и прочих методов апи которые отправляют в онлайн
|
||||
|
||||
Может выглядеть как ненастоящий уход из сети"</string>
|
||||
|
||||
@@ -5560,7 +5560,7 @@ Warning! It can cause long downloads of user lists if there are a lot of users i
|
||||
<string name="ctypedisabled">Not set</string>
|
||||
<string name="ctypesocks">Socks</string>
|
||||
<string name="dnr">Do not read</string>
|
||||
<string name="dns">Status of viewing/checking stories</string>
|
||||
<string name="dns">Disable status of viewing</string>
|
||||
<string name="dnw">Do not write</string>
|
||||
<string name="docknumbers">Counters in dockbar</string>
|
||||
<string name="docknumberssum">"Disabling doesn't work in the tablet interface"</string>
|
||||
@@ -5691,9 +5691,9 @@ You need to restart the application to apply proxy settings"</string>
|
||||
<string name="useproxysum">Select the proxy variant</string>
|
||||
<string name="vkuiinj">Coloring web pages</string>
|
||||
<string name="vtlawayphpsummary">Tracking the user to personalize ads. Also checking links to the blacklist from VKontakte and antivirus</string>
|
||||
<string name="vtloffline">Send online status</string>
|
||||
<string name="vtloffline">Do not send online</string>
|
||||
<string name="vtloffline2">Force offline</string>
|
||||
<string name="vtloffline2summary">"Works only when online status sending is disabled. Sends instantly offline after sending messages and other api methods that are sent online
|
||||
<string name="vtloffline2summary">"Works only when online status sending is enabled. Sends instantly offline after sending messages and other api methods that are sent online
|
||||
|
||||
May look like a fake leaving the online"</string>
|
||||
<string name="vtlofflinesummary">Disabling online will allow you to stay offline</string>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
android:summary="@string/activity_dns_summary"
|
||||
android:title="@string/activity_what_is_it" />
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:key="dns"
|
||||
android:title="@string/dns" />
|
||||
</PreferenceCategory>
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_a
|
||||
if-eqz v2, :cond_a
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->forceOffline()V
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_a
|
||||
if-eqz v2, :cond_a
|
||||
|
||||
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->forceOffline()V
|
||||
|
||||
|
||||
Reference in New Issue
Block a user