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

Remove more app usages which are unnecessary

This commit is contained in:
Sean Smith
2019-05-24 22:22:56 -04:00
parent a06cbcbd7f
commit 02e0666697
7 changed files with 0 additions and 14 deletions

View File

@@ -20,7 +20,6 @@ const baseURL = "https://bittrex.com/api/v1.1/public/getmarketsummary"
type Widget struct {
wtf.TextWidget
app *tview.Application
settings *Settings
summaryList
}
@@ -30,7 +29,6 @@ func NewWidget(app *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: wtf.NewTextWidget(app, settings.common, false),
app: app,
settings: settings,
summaryList: summaryList{},
}

View File

@@ -14,7 +14,6 @@ import (
type Widget struct {
wtf.TextWidget
app *tview.Application
device_token string
settings *Settings
}
@@ -23,7 +22,6 @@ func NewWidget(app *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: wtf.NewTextWidget(app, settings.common, false),
app: app,
device_token: settings.deviceToken,
settings: settings,
}

View File

@@ -14,7 +14,6 @@ import (
type Widget struct {
wtf.TextWidget
app *tview.Application
priceWidget *price.Widget
toplistWidget *toplist.Widget
settings *Settings
@@ -25,7 +24,6 @@ func NewWidget(app *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: wtf.NewTextWidget(app, settings.common, false),
app: app,
priceWidget: price.NewWidget(settings.priceSettings),
toplistWidget: toplist.NewWidget(settings.toplistSettings),
settings: settings,