mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
More search UI improvements across all the platforms
This commit is contained in:
@@ -2,7 +2,7 @@ extension Array where Element: Equatable {
|
||||
func next(after element: Element) -> Element? {
|
||||
let idx = firstIndex(of: element)
|
||||
|
||||
if idx == nil {
|
||||
if idx.isNil {
|
||||
return first
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user