Handle file matching case insesnitivity
This commit is contained in:
parent
45dbdad260
commit
40b08c2457
@ -140,7 +140,7 @@ let pickWallpaper = () => {
|
|||||||
}
|
}
|
||||||
let validWallpapers = []
|
let validWallpapers = []
|
||||||
wallpapers.forEach(wp => {
|
wallpapers.forEach(wp => {
|
||||||
if (wp.includes(localStorage.getItem('member'))) {
|
if (wp.toLowerCase().includes(localStorage.getItem('member').toLowerCase())) {
|
||||||
validWallpapers.push(wp)
|
validWallpapers.push(wp)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user