Save settings, always show party icon

This commit is contained in:
Rikko 2022-10-04 07:12:12 +05:30
parent 5f9ac44f4e
commit 430da49b8a
2 changed files with 5 additions and 8 deletions

View file

@ -189,6 +189,7 @@ class SettingWindow(ba.Window):
def save_settings(self):
ba.app.config["moodlightingSettings"] = (Ldefault, Udefault)
ba.app.config.commit()
Print("settings saved")
self.close()
@ -212,6 +213,7 @@ def new_chat_message(msg: Union[str, ba.Lstr], clients: Sequence[int] = None, se
old_fcm = _ba.chatmessage
_ba.chatmessage = new_chat_message
_ba.set_party_icon_always_visible(True)
# ba_meta export plugin