Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-bw committed Aug 23, 2022
1 parent 07f803d commit f9dbf97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/common/src/misc/utils.ts
Expand Up @@ -388,8 +388,6 @@ export class Utils {
return r * 0.299 + g * 0.587 + b * 0.114 > threshold ? blackColor : whiteColor;
}

// This value currently isn't stored anywhere, only calculated in the app-avatar component
// Once we are allowing org colors to be changed and saved, change this out
static stringToColor(str: string): string {
let hash = 0;
for (let i = 0; i < str.length; i++) {
Expand Down

0 comments on commit f9dbf97

Please sign in to comment.