for #24718: add two remote firefox wallpapers (#24737)

(cherry picked from commit eca84dfa3d)

Co-authored-by: MatthewTighe <mtighe@mozilla.com>
upstream-sync
mergify[bot] 2 years ago committed by GitHub
parent f8a05c1f1d
commit 196cc82905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,6 +58,16 @@ sealed class Wallpaper {
) : Remote() {
override val remoteParentDirName: String = "house"
}
/**
* Wallpapers that are original Firefox creations.
*/
data class Firefox(
override val name: String,
) : Remote() {
override val expirationDate: Date? = null
override val remoteParentDirName: String = "firefox"
}
}
companion object {

@ -243,6 +243,12 @@ class WallpaperManager(
Wallpaper.Remote.House(
"mei",
),
Wallpaper.Remote.Firefox(
"twilight-hills"
),
Wallpaper.Remote.Firefox(
"beach-vibe"
),
)
private val availableWallpapers = listOf(defaultWallpaper) + localWallpapers + remoteWallpapers
private const val ANIMATION_DELAY_MS = 1500L

Loading…
Cancel
Save