yattee/Shared/Home/DropFavoriteOutside.swift
2022-12-04 13:32:22 +01:00

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
}
}