@@ -159,7 +159,7 @@ func (sr *SearchResults) visit(path string, _ os.FileInfo, _ error) error {
159159// sortWallpapers sorts the found wallpapers
160160func (sr * SearchResults ) sortWallpapers () {
161161 var collected []* Wallpaper
162- sr .wallpapers .Range (func (_ , value interface {} ) bool {
162+ sr .wallpapers .Range (func (_ , value any ) bool {
163163 wp , ok := value .(* Wallpaper )
164164 if ! ok {
165165 // internal error
@@ -181,7 +181,7 @@ func (sr *SearchResults) sortWallpapers() {
181181// sortGnomeTimedWallpapers sorts the Found gnome Timed Wallpapers
182182func (sr * SearchResults ) sortGnomeTimedWallpapers () {
183183 var collected []* gnometimed.Wallpaper
184- sr .gnomeWallpapers .Range (func (_ , value interface {} ) bool {
184+ sr .gnomeWallpapers .Range (func (_ , value any ) bool {
185185 gw , ok := value .(* gnometimed.Wallpaper )
186186 if ! ok {
187187 // internal error
@@ -200,7 +200,7 @@ func (sr *SearchResults) sortGnomeTimedWallpapers() {
200200// sortSimpleTimedWallpapers sorts the found Simple Timed Wallpapers
201201func (sr * SearchResults ) sortSimpleTimedWallpapers () {
202202 var collected []* simpletimed.Wallpaper
203- sr .simpleTimedWallpapers .Range (func (_ , value interface {} ) bool {
203+ sr .simpleTimedWallpapers .Range (func (_ , value any ) bool {
204204 stw , ok := value .(* simpletimed.Wallpaper )
205205 if ! ok {
206206 // internal error
0 commit comments