Update party.py

This commit is contained in:
Vishal 2023-11-16 17:31:33 +05:30 committed by GitHub
parent abab49761f
commit 5f70cd864a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ class PartyWindow(bui.Window):
bui.Lstr(
resource='chatUnMuteText' if is_muted else 'chatMuteText'
),
bui.Lstr(value='Add to Favorites')
bui.Lstr(resource='addToFavoritesText')
],
current_choice='unmute' if is_muted else 'mute',
delegate=self,
@ -602,4 +602,4 @@ class PartyWindow(bui.Window):
def close_with_sound(self) -> None:
"""Close the window and make a lovely sound."""
bui.getsound('swish').play()
self.close()
self.close()