1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Remove common functionality from KeyboardWidget and into Base

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer
2020-12-13 05:36:46 -08:00
parent aae98e40e3
commit d6c8e08c2f
43 changed files with 92 additions and 66 deletions

View File

@@ -8,7 +8,6 @@ import (
type Widget struct {
view.TextWidget
// app *tview.Application
clockColl ClockCollection
dateFormat string
timeFormat string
@@ -19,7 +18,6 @@ func NewWidget(tviewApp *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: view.NewTextWidget(tviewApp, nil, settings.Common),
// app: app,
settings: settings,
dateFormat: settings.dateFormat,
timeFormat: settings.timeFormat,