Merge branch 'bwindel/polish' into 'element'
More polish See merge request new-vector/element/element-web/matrix-react-sdk!21
This commit is contained in:
commit
9d094a793c
5 changed files with 29 additions and 23 deletions
|
@ -82,7 +82,7 @@ function urlForColor(color) {
|
|||
const colorToDataURLCache = new Map();
|
||||
|
||||
export function defaultAvatarUrlForString(s) {
|
||||
const defaultColors = ['#03b381', '#368bd6', '#ac3ba8'];
|
||||
const defaultColors = ['#0DBD8B', '#368bd6', '#ac3ba8'];
|
||||
let total = 0;
|
||||
for (let i = 0; i < s.length; ++i) {
|
||||
total += s.charCodeAt(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue