mirror of
https://github.com/yattee/yattee.git
synced 2024-12-24 14:33:40 +00:00
12 lines
217 B
Swift
12 lines
217 B
Swift
|
import Foundation
|
||
|
import SwiftUI
|
||
|
|
||
|
struct DropFavoriteOutside: DropDelegate {
|
||
|
@Binding var current: FavoriteItem?
|
||
|
|
||
|
func performDrop(info _: DropInfo) -> Bool {
|
||
|
current = nil
|
||
|
return true
|
||
|
}
|
||
|
}
|