refactor utils

This commit is contained in:
pa
2026-03-10 20:08:16 +09:00
parent ff1529920b
commit 1dfd0bf54c
40 changed files with 435 additions and 275 deletions

View File

@@ -321,7 +321,7 @@ export function updateUserCurrentStatus(ref) {
friendStore.updateOnlineFriendCounter();
if (appearanceSettingsStore.randomUserColours) {
getNameColour(userStore.currentUser.id).then((colour) => {
getNameColour(userStore.currentUser.id, appearanceSettingsStore.isDarkMode).then((colour) => {
userStore.setCurrentUserColour(colour);
});
}