moving notification to ui package

This commit is contained in:
aditya-K2 2021-12-22 21:20:01 +05:30
parent 6390039ea9
commit f56169cbd3

View File

@ -1,4 +1,4 @@
package main
package ui
import (
"time"
@ -9,6 +9,14 @@ import (
"github.com/gdamore/tcell/v2"
)
var (
UI *Application
)
func ConnectUI(a *Application) {
UI = a
}
/* Notification Primitive */
type Notification struct {
*tview.Box