mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 14:52:13 -04:00
Another fix for customapp settings
This commit is contained in:
parent
4ef289a9b2
commit
c0e6b94e7a
@ -338,8 +338,8 @@ def step_update_xml_nodes(jsdata, **options):
|
||||
'preferences.xml')
|
||||
soup = soup = BeautifulSoup(open(preferences_xml, 'r'),
|
||||
'xml', from_encoding='utf-8')
|
||||
item = soup.find('org.kiwix.kiwixmobile.settings.CustomSwitchPreference')
|
||||
item.name = '{}.settings.CustomSwitchPreference'.format(jsdata.get('package'))
|
||||
for item in soup.findAll('org.kiwix.kiwixmobile.settings.CustomSwitchPreference'):
|
||||
item.name = '{}.settings.CustomSwitchPreference'.format(jsdata.get('package'))
|
||||
flushxml(soup, 'PreferenceScreen', preferences_xml, head=False)
|
||||
|
||||
# rename AnimatedProgressBar node in res/layout/toolbar.xml
|
||||
|
Loading…
x
Reference in New Issue
Block a user