Skip to content

Commit a6c297a

Browse files
committed
Remove options deprecated
Signed-off-by: Dev4Mod <[email protected]>
1 parent 1589265 commit a6c297a

File tree

3 files changed

+0
-36
lines changed

3 files changed

+0
-36
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/features/general/Others.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,12 @@ public void doHook() throws Exception {
5353

5454
properties = Utils.getProperties(prefs, "custom_css", "custom_filters");
5555

56-
var novoTema = prefs.getBoolean("novotema", false);
5756
var menuWIcons = prefs.getBoolean("menuwicon", false);
5857
var newSettings = prefs.getBoolean("novaconfig", false);
5958
var filterChats = prefs.getString("chatfilter", null);
60-
var strokeButtons = prefs.getBoolean("strokebuttons", false);
61-
var outlinedIcons = prefs.getBoolean("outlinedicons", false);
6259
var filterSeen = prefs.getBoolean("filterseen", false);
6360
var status_style = Integer.parseInt(prefs.getString("status_style", "0"));
6461
var metaai = prefs.getBoolean("metaai", false);
65-
var topnav = prefs.getBoolean("topnav", false);
6662
var proximity = prefs.getBoolean("proximity_audios", false);
6763
var showOnline = prefs.getBoolean("showonline", false);
6864
var floatingMenu = prefs.getBoolean("floatingmenu", false);
@@ -77,15 +73,10 @@ public void doHook() throws Exception {
7773

7874
propsInteger.put(3877, oldStatus ? igstatus ? 2 : 0 : 2);
7975
propsBoolean.put(5171, filterSeen); // filtros de chat e grupos
80-
propsBoolean.put(4524, novoTema);
8176
propsBoolean.put(4497, menuWIcons);
8277
propsBoolean.put(4023, newSettings);
8378
propsBoolean.put(8013, Objects.equals(filterChats, "2")); // lupa sera removida e sera adicionado uma barra no lugar.
84-
propsBoolean.put(5834, strokeButtons);
85-
propsBoolean.put(5509, outlinedIcons);
8679
propsBoolean.put(2358, false);
87-
propsBoolean.put(3289, !topnav);
88-
propsBoolean.put(4656, !topnav);
8980
propsBoolean.put(2889, floatingMenu);
9081
propsBoolean.put(7769, false);
9182

@@ -104,7 +95,6 @@ public void doHook() throws Exception {
10495
// Enable music in Stories
10596
//propsBoolean.put(13280, true);
10697

107-
10898
propsBoolean.put(6798, true); // show all status
10999
propsBoolean.put(3575, animationEmojis); // auto play emojis settings
110100
propsBoolean.put(9757, animationEmojis); // auto play emojis settings

app/src/main/res/values/strings.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<string name="textonahora">Text next to Timestamp</string>
2020
<string name="viewonce">Unlimited View Once</string>
2121
<string name="viewonce_sum">Allows you to open view once media multiple times</string>
22-
<string name="novotema_sum">Change the color and icon theme to the new WhatsApp theme</string>
2322
<string name="antirevokestatus">Anti-Delete Status</string>
2423
<string name="antirevokestatus_sum">View statuses that users have since deleted</string>
2524
<string name="hidereceipt">Hide Delivered</string>
@@ -31,7 +30,6 @@
3130
<string name="statusdowload_sum">Shows two buttons to share and download status</string>
3231
<string name="videoquality">HD Quality Videos</string>
3332
<string name="videoquality_sum">Send videos in HD quality, by default</string>
34-
<string name="colors_title">Colors</string>
3533
<string name="colors_customization">Customize your colors</string>
3634
<string name="colors_customization_sum">Change all colors in your WhatsApp (Working only in Dark Theme)</string>
3735
<string name="general">General</string>
@@ -46,10 +44,6 @@
4644
<string name="novofiltro_sum">Choose between Search Icon, Search Bar, or No Search</string>
4745
<string name="menuwicon">Menu Icons</string>
4846
<string name="menuwicon_sum">Add icons next to menu options across the app</string>
49-
<string name="strokebuttons">Buttons Stroke</string>
50-
<string name="strokebuttons_sum">Stroke around some buttons on WhatsApp</string>
51-
<string name="outlinedicons">Outlined Icons</string>
52-
<string name="outlinedicons_sum">New outlined icons style</string>
5347
<string name="freezelastseen">Freeze Last Seen</string>
5448
<string name="freezelastseen_sum">Your last seen time will be frozen\n(CAUTION: You will not see any presence updates from other users, like typing, recording, online)</string>
5549
<string name="removeforwardlimit_sum">Remove forward limit for 5 chats (normal) and 1 chat (multiple times)\n(Note: Use with caution, you may be banned for spam)</string>
@@ -184,8 +178,6 @@
184178
<string name="enable_restart_button_sum">Add button in Home Screen to Restart App</string>
185179
<string name="toast_on_delete">Show toast notification on delete message</string>
186180
<string name="toast_on_delete_sum">Show toast notification if any contact deletes any message</string>
187-
<string name="enable_top_navigation">Enable Top Navigation (Obsolete)</string>
188-
<string name="enable_top_navigation_sum">Activate the old navigation bar (does not work for versions above Wpp 2.24.24 and will be removed soon)</string>
189181
<string name="hideread_group">Hide Blue Tick in Groups</string>
190182
<string name="hideread_group_sum">View messages in groups screen without users knowing</string>
191183
<string name="show_freezeLastSeen_button">Show Freeze Last Seen Button</string>

app/src/main/res/xml/fragment_customization.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
app:iconSpaceReserved="false"
77
app:title="@string/general">
88

9-
<rikka.material.preference.MaterialSwitchPreference
10-
app:key="novotema"
11-
app:summary="@string/novotema_sum"
12-
app:title="@string/colors_title" />
13-
149
<rikka.material.preference.MaterialSwitchPreference
1510
app:key="changecolor"
1611
app:summary="@string/colors_customization_sum"
@@ -37,11 +32,6 @@
3732
app:summary="@string/default_color"
3833
app:title="@string/background_color" />
3934

40-
<rikka.material.preference.MaterialSwitchPreference
41-
app:key="topnav"
42-
app:summary="@string/enable_top_navigation_sum"
43-
app:title="@string/enable_top_navigation" />
44-
4535
<rikka.material.preference.MaterialSwitchPreference
4636
app:key="wallpaper"
4737
app:summary="@string/wallpaper_in_home_screen_sum"
@@ -173,20 +163,12 @@
173163
app:iconSpaceReserved="false"
174164
app:title="@string/home_screen">
175165

176-
<rikka.material.preference.MaterialSwitchPreference
177-
app:key="strokebuttons"
178-
app:summary="@string/strokebuttons_sum"
179-
app:title="@string/strokebuttons" />
180166

181167
<rikka.material.preference.MaterialSwitchPreference
182168
app:key="menuwicon"
183169
app:summary="@string/menuwicon_sum"
184170
app:title="@string/menuwicon" />
185171

186-
<rikka.material.preference.MaterialSwitchPreference
187-
app:key="outlinedicons"
188-
app:summary="@string/outlinedicons_sum"
189-
app:title="@string/outlinedicons" />
190172

191173
<rikka.material.preference.MaterialSwitchPreference
192174
app:key="novaconfig"

0 commit comments

Comments
 (0)