closes #23616: add final path separator to reote path

This commit is contained in:
Matt Tighe 2022-02-07 11:27:51 -08:00 committed by mergify[bot]
parent 4c953bc910
commit b7b601eee1

View File

@ -75,7 +75,7 @@ class WallpaperDownloader(
listOf("light", "dark").map { theme ->
val remoteParent = this::class.simpleName!!.lowercase()
val localPath = "wallpapers/$orientation/$theme/$name.png"
val remotePath = "${context.resolutionSegment()}/$orientation/$theme/$remoteParent$name.png"
val remotePath = "${context.resolutionSegment()}/$orientation/$theme/$remoteParent/$name.png"
WallpaperMetadata(remotePath, localPath)
}
}