fixed undelete msg

fixed all bugs omg
This commit is contained in:
gdlbo
2023-01-30 21:36:13 +03:00
parent a645e2fe32
commit 5994172095
4 changed files with 0 additions and 20 deletions
@@ -279,11 +279,6 @@ public class Preferences {
return getBoolValue("voice", true);
}
public static int getMsgCount(int orig) {
String customvalue = getPrefsValue("msgcount");
return customvalue.isEmpty() ? orig : Integer.parseInt(customvalue);
}
public static boolean vkme_notifs() {
return getBoolValue("vkme_notifs", false);
}
-7
View File
@@ -59,12 +59,5 @@
android:key="sendByEnter"
android:summary="@string/sett_send_by_enter_summary"
android:title="@string/sett_send_by_enter"/>
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="30"
android:dialogTitle="@string/messages_other_choose_count"
android:entries="@array/msgcount_value"
android:entryValues="@array/msgcount"
android:key="msgcount"
android:title="@string/messages_other_download_first"/>
</PreferenceCategory>
</PreferenceScreen>
@@ -43,10 +43,6 @@
iput-object p2, p0, Lcom/vk/im/engine/internal/api_commands/messages/MessagesGetConversationsApiCmd;->b:Lcom/vk/im/engine/models/dialogs/DialogsFilter;
invoke-static {p3}, Lru/vtosters/lite/utils/Preferences;->getMsgCount(I)I
move-result p3
iput p3, p0, Lcom/vk/im/engine/internal/api_commands/messages/MessagesGetConversationsApiCmd;->c:I
iput-object p4, p0, Lcom/vk/im/engine/internal/api_commands/messages/MessagesGetConversationsApiCmd;->d:Ljava/lang/String;
@@ -158,10 +158,6 @@
move-result v0
invoke-static {v0}, Lru/vtosters/lite/utils/Preferences;->getMsgCount(I)I
move-result v0
iput v0, p0, Lcom/vk/im/engine/internal/api_commands/messages/MessagesGetHistoryApiCmd;->d:I
.line 9