Handle file matching case insesnitivity

This commit is contained in:
Elizabeth Cray 2023-06-23 15:19:08 -04:00
parent 45dbdad260
commit 40b08c2457

View File

@ -140,7 +140,7 @@ let pickWallpaper = () => {
}
let validWallpapers = []
wallpapers.forEach(wp => {
if (wp.includes(localStorage.getItem('member'))) {
if (wp.toLowerCase().includes(localStorage.getItem('member').toLowerCase())) {
validWallpapers.push(wp)
}
})