mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-07 15:59:26 +00:00
16 lines
349 B
Swift
16 lines
349 B
Swift
import SwiftUI
|
|
import Env
|
|
|
|
@MainActor
|
|
extension View {
|
|
public func statusEditorToolbarItem(routeurPath: RouterPath) -> some ToolbarContent {
|
|
ToolbarItem(placement: .navigationBarTrailing) {
|
|
Button {
|
|
routeurPath.presentedSheet = .newStatusEditor
|
|
} label: {
|
|
Image(systemName: "square.and.pencil")
|
|
}
|
|
}
|
|
}
|
|
}
|