mirror of
https://github.com/yattee/yattee.git
synced 2025-12-25 06:00:15 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -46,7 +46,7 @@ struct SearchTextField: View {
|
||||
.padding(.trailing, 15)
|
||||
#endif
|
||||
|
||||
if let favoriteItem = favoriteItem {
|
||||
if let favoriteItem {
|
||||
#if os(iOS)
|
||||
FavoriteButton(item: favoriteItem)
|
||||
.id(favoriteItem.id)
|
||||
|
||||
Reference in New Issue
Block a user