mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Fix rewritting of SliderPreference class name for custom apps #3
This commit is contained in:
parent
4b4cf88f7f
commit
2f3d69f608
@ -322,7 +322,7 @@ def step_update_xml_nodes(jsdata, **options):
|
||||
soup = soup = BeautifulSoup(open(preferences_xml, 'r'),
|
||||
'xml', from_encoding='utf-8')
|
||||
item = soup.find('org.kiwix.kiwixmobile.views.SliderPreference')
|
||||
item.name = '{}.settings.SliderPreference'.format(jsdata.get('package'))
|
||||
item.name = '{}.views.SliderPreference'.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