Skip to content

Commit 665b40f

Browse files
Merge pull request #8 from prashantgupta24/dev
making notifications better
2 parents d76767d + b018f97 commit 665b40f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/mousemover/mouseMover.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88

99
"github.com/go-vgo/robotgo"
1010
"github.com/prashantgupta24/activity-tracker/pkg/tracker"
11-
"github.com/prashantgupta24/automatic-mouse-mover/pkg/notify"
1211
)
1312

1413
var instance *MouseMover
@@ -56,7 +55,7 @@ func (m *MouseMover) Start() {
5655
} else {
5756
msg := "Mouse pointer cannot be moved. See README for details."
5857
log.Errorf(msg)
59-
notify.SendMessage(msg)
58+
robotgo.ShowAlert("Error with Automatic Mouse Mover", msg)
6059
}
6160
case <-time.After(timeout * time.Millisecond):
6261
//timeout, do nothing

0 commit comments

Comments
 (0)