Set icons as buttons after theme change

main
Bob Mottram 2020-10-25 20:40:46 +00:00
parent 8934a25123
commit 57bc04775f
1 changed files with 6 additions and 0 deletions

View File

@ -3482,6 +3482,9 @@ class PubServer(BaseHTTPRequestHandler):
self.server.fullWidthTimelineButtonHeader = \ self.server.fullWidthTimelineButtonHeader = \
getConfigParam(self.server.baseDir, getConfigParam(self.server.baseDir,
'fullWidthTimelineButtonHeader') 'fullWidthTimelineButtonHeader')
self.server.iconsAsButtons = \
getConfigParam(self.server.baseDir,
'iconsAsButtons')
setNewsAvatar(baseDir, setNewsAvatar(baseDir,
fields['themeDropdown'], fields['themeDropdown'],
httpPrefix, httpPrefix,
@ -3833,6 +3836,9 @@ class PubServer(BaseHTTPRequestHandler):
getConfigParam(self.server.baseDir, getConfigParam(self.server.baseDir,
'fullWidthTimeline' + 'fullWidthTimeline' +
'ButtonHeader') 'ButtonHeader')
self.server.iconsAsButtons = \
getConfigParam(self.server.baseDir,
'iconsAsButtons')
# only receive DMs from accounts you follow # only receive DMs from accounts you follow
followDMsFilename = \ followDMsFilename = \