Spacing between notification icons

merge-requests/21/head
Bob Mottram 2021-03-15 18:21:04 +00:00
parent aa7771f58f
commit f3d52442ab
1 changed files with 6 additions and 6 deletions

View File

@ -411,18 +411,18 @@ def _showLocalBox(notifyJson: {}, boxName: str,
notificationIcons = '' notificationIcons = ''
if notifyJson: if notifyJson:
if notifyJson.get('followRequests'): if notifyJson.get('followRequests'):
notificationIcons += '👤' notificationIcons += ' 👤'
if notifyJson.get('dm'): if notifyJson.get('dm'):
notificationIcons += '📩' notificationIcons += ' 📩'
if notifyJson.get('reply'): if notifyJson.get('reply'):
notificationIcons += '📨' notificationIcons += ' 📨'
if notifyJson.get('calendar'): if notifyJson.get('calendar'):
notificationIcons += '📅' notificationIcons += ' 📅'
if notifyJson.get('share'): if notifyJson.get('share'):
notificationIcons += '🤝' notificationIcons += ' 🤝'
if notifyJson.get('likedBy'): if notifyJson.get('likedBy'):
if '##sent##' not in notifyJson['likedBy']: if '##sent##' not in notifyJson['likedBy']:
notificationIcons += '' notificationIcons += ' '
titleStr = boxName.upper() titleStr = boxName.upper()
if notificationIcons: if notificationIcons:
while len(titleStr) < 89 - len(notificationIcons): while len(titleStr) < 89 - len(notificationIcons):