mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Icon for textfile title
This commit is contained in:
parent
a9309ccec5
commit
1c72c71e81
@ -21,7 +21,7 @@ type Widget struct {
|
||||
|
||||
func NewWidget() *Widget {
|
||||
widget := Widget{
|
||||
TextWidget: wtf.NewTextWidget("TextFile", "textfile"),
|
||||
TextWidget: wtf.NewTextWidget(" Text File ", "textfile"),
|
||||
FilePath: Config.UString("wtf.mods.textfile.filepath"),
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ func (widget *Widget) Refresh() {
|
||||
return
|
||||
}
|
||||
|
||||
widget.View.SetTitle(fmt.Sprintf(" %s ", widget.FilePath))
|
||||
widget.View.SetTitle(fmt.Sprintf(" 📄 %s ", widget.FilePath))
|
||||
widget.RefreshedAt = time.Now()
|
||||
|
||||
widget.View.Clear()
|
||||
|
Loading…
x
Reference in New Issue
Block a user