feat: add URL input button to control toolbar

This commit is contained in:
yumoqing 2026-06-23 09:06:32 +08:00
parent f303832a1b
commit 9cab9dd2cb

View File

@ -293,6 +293,7 @@ struct ControlToolbar: View {
//
HStack(spacing: 4) {
TB(icon: "folder") { bridge.openFileDialog(); onTouch() }
TB(icon: "link") { bridge.showURLDialog = true; onTouch() }
TB(icon: "backward.fill") { bridge.playPrev(); onTouch() }
TB(icon: bridge.isPlaying ? "pause.fill" : "play.fill") { bridge.togglePlayPause(); onTouch() }
TB(icon: "forward.fill") { bridge.playNext(); onTouch() }