mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Twitter module supports subscribing to multiple screen names
This commit is contained in:
@@ -16,6 +16,10 @@ func NewMultiSourceWidget() MultiSourceWidget {
|
||||
/* -------------------- Exported Functions -------------------- */
|
||||
|
||||
func (widget *MultiSourceWidget) CurrentSource() string {
|
||||
if widget.Idx >= len(widget.Sources) {
|
||||
return ""
|
||||
}
|
||||
|
||||
return widget.Sources[widget.Idx]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user