Update party.py

This commit is contained in:
Vishal 2023-07-02 10:39:17 +05:30 committed by GitHub
parent cfda477a47
commit 7415bf5cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,10 @@ class PartyWindow(bui.Window):
def _copy_msg(self, msg: str) -> None:
if bui.clipboard_is_supported():
bui.clipboard_set_text(msg)
bui.screenmessage(bui.Lstr(resource='copyConfirmText'), color=(0, 1, 0))
bui.screenmessage(
bui.Lstr(resource='copyConfirmText'),
color=(0, 1, 0)
)
def _on_menu_button_press(self) -> None:
is_muted = bui.app.config.resolve('Chat Muted')