Set icons as buttons after theme change

merge-requests/8/head
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 = \
getConfigParam(self.server.baseDir,
'fullWidthTimelineButtonHeader')
self.server.iconsAsButtons = \
getConfigParam(self.server.baseDir,
'iconsAsButtons')
setNewsAvatar(baseDir,
fields['themeDropdown'],
httpPrefix,
@ -3833,6 +3836,9 @@ class PubServer(BaseHTTPRequestHandler):
getConfigParam(self.server.baseDir,
'fullWidthTimeline' +
'ButtonHeader')
self.server.iconsAsButtons = \
getConfigParam(self.server.baseDir,
'iconsAsButtons')
# only receive DMs from accounts you follow
followDMsFilename = \