mirror of https://gitlab.com/bashrc2/epicyon
Show box title
parent
9b03b416ab
commit
a212094612
|
@ -415,12 +415,6 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
_clearScreen()
|
_clearScreen()
|
||||||
_showDesktopBanner()
|
_showDesktopBanner()
|
||||||
|
|
||||||
if not index:
|
|
||||||
sayStr = 'You have no ' + boxName + ' posts yet.'
|
|
||||||
_sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak)
|
|
||||||
print('')
|
|
||||||
return False
|
|
||||||
|
|
||||||
notificationIcons = ''
|
notificationIcons = ''
|
||||||
if notifyJson:
|
if notifyJson:
|
||||||
if notifyJson.get('followRequests'):
|
if notifyJson.get('followRequests'):
|
||||||
|
@ -443,6 +437,13 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
titleStr += notificationIcons
|
titleStr += notificationIcons
|
||||||
print(indent + titleStr + '\n')
|
print(indent + titleStr + '\n')
|
||||||
|
|
||||||
|
if not index:
|
||||||
|
print('')
|
||||||
|
sayStr = 'You have no ' + boxName + ' posts yet.'
|
||||||
|
_sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak)
|
||||||
|
print('')
|
||||||
|
return False
|
||||||
|
|
||||||
maxPostIndex = len(index)
|
maxPostIndex = len(index)
|
||||||
index.sort(reverse=True)
|
index.sort(reverse=True)
|
||||||
ctr = 0
|
ctr = 0
|
||||||
|
|
Loading…
Reference in New Issue