Handle file matching case insesnitivity

This commit is contained in:
Elizabeth Cray committed 2023-06-23 15:19:08 -04:00
1 parent 45dbdad260
commit 40b08c2457
1 file changed
+1 -1
+1 -1
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)
}
})