Skip to content

Commit 117b62d

Browse files
committed
model: Add platform information to the About Pop-Up.
Shows PLATFORM from platform_code.py on the About Pop-Up.
1 parent f1db4d4 commit 117b62d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zulipterminal/ui_tools/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
match_stream,
3939
match_user,
4040
)
41+
from zulipterminal.platform_code import PLATFORM
4142
from zulipterminal.server_url import near_message_url
4243
from zulipterminal.ui_tools.boxes import MessageBox, PanelSearchBox
4344
from zulipterminal.ui_tools.buttons import (
@@ -1125,6 +1126,7 @@ def __init__(
11251126
("Notifications", "enabled" if notify_enabled else "disabled"),
11261127
],
11271128
),
1129+
("Platform", [("Detected Platform", PLATFORM if PLATFORM else "Invalid Platform")])
11281130
]
11291131

11301132
popup_width, column_widths = self.calculate_table_widths(contents, len(title))

0 commit comments

Comments
 (0)