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