Little profile refactoring and favorite server adding fix.
Done some refactoring on profiles handling. Too small, but deserve these two lines in commit. Fixed favorite server addition from scratch.
This commit is contained in:
1 parent
a6d53a3fd9
commit
070aa50762
4 files changed
+13
-4
No files matched your search
+1
-2
@@ -91,6 +91,7 @@ func (t *Timer) Initialize() {
|
||||
fmt.Println("Initializing timer...")
|
||||
|
||||
t.initializeStorage()
|
||||
Eventer.AddEventHandler("taskDone", t.SetTaskNotInProgress)
|
||||
|
||||
ticker := time.NewTicker(time.Second * 1)
|
||||
go func() {
|
||||
@@ -98,8 +99,6 @@ func (t *Timer) Initialize() {
|
||||
go t.executeTasks()
|
||||
}
|
||||
}()
|
||||
|
||||
Eventer.AddEventHandler("taskDone", t.SetTaskNotInProgress)
|
||||
}
|
||||
|
||||
func (t *Timer) initializeStorage() {
|
||||
|
||||
Reference in new issue
Block a user