mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
Bug 1809809 - change onSelectWallpaper comparison to name of selected wallpaper
This commit is contained in:
parent
4b3f89f810
commit
b2a14feaf4
@ -70,7 +70,7 @@ class WallpaperSettingsFragment : Fragment() {
|
|||||||
wallpaperUseCases.loadThumbnail(it)
|
wallpaperUseCases.loadThumbnail(it)
|
||||||
},
|
},
|
||||||
onSelectWallpaper = {
|
onSelectWallpaper = {
|
||||||
if (it != currentWallpaper) {
|
if (it.name != currentWallpaper.name) {
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
val result = wallpaperUseCases.selectWallpaper(it)
|
val result = wallpaperUseCases.selectWallpaper(it)
|
||||||
onWallpaperSelected(it, result, requireView())
|
onWallpaperSelected(it, result, requireView())
|
||||||
|
Loading…
Reference in New Issue
Block a user