[#32] added app list and user icon to menubar

This commit is contained in:
Camille Moussu
2025-08-18 18:10:28 +02:00
committed by Benoit TELLIER
parent 4b93d7dea9
commit aa498ac91f
7 changed files with 170 additions and 20 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ function formatDate(date: Date) {
});
}
function stringToColor(string: string) {
export function stringToColor(string: string) {
let hash = 0;
for (let i = 0; i < string.length; i++) {
hash = string.charCodeAt(i) + ((hash << 5) - hash);