Skip to content

Commit

Permalink
internal/splash: implement dialog for nosplash
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Oct 20, 2023
1 parent 04121c2 commit bab058d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/splash/nosplash.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package splash

import (
"log"
"errors"

"github.com/vinegarhq/vinegar/internal/config"
Expand All @@ -27,6 +28,10 @@ func (ui *Splash) Progress(progress float32) {
func (ui *Splash) Close() {
}

func (ui *Splash) Dialog(title, msg string) {
log.Printf("Dialog: %s %s", title, msg)
}

func New(cfg *config.Splash) *Splash {
return &Splash{
Config: cfg,
Expand Down

0 comments on commit bab058d

Please sign in to comment.