mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 15:47:06 +08:00
Update party.py
This commit is contained in:
parent
abab49761f
commit
5f70cd864a
@ -242,7 +242,7 @@ class PartyWindow(bui.Window):
|
|||||||
bui.Lstr(
|
bui.Lstr(
|
||||||
resource='chatUnMuteText' if is_muted else 'chatMuteText'
|
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',
|
current_choice='unmute' if is_muted else 'mute',
|
||||||
delegate=self,
|
delegate=self,
|
||||||
@ -602,4 +602,4 @@ class PartyWindow(bui.Window):
|
|||||||
def close_with_sound(self) -> None:
|
def close_with_sound(self) -> None:
|
||||||
"""Close the window and make a lovely sound."""
|
"""Close the window and make a lovely sound."""
|
||||||
bui.getsound('swish').play()
|
bui.getsound('swish').play()
|
||||||
self.close()
|
self.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user