Browse Source

1.0.4 (#139)

* fix timeline local

* update version

* fix :compose and name bookmarks in the title
pull/140/head 1.0.4
Rasmus Lindroth 4 years ago committed by GitHub
parent
commit
741b11608d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      feed/feed.go
  2. 2
      main.go
  3. 3
      ui/cmdbar.go
  4. 2
      ui/feed.go
  5. 2
      ui/timeline.go

3
feed/feed.go

@ -30,6 +30,7 @@ const (
Muting
InvalidFeed
Notification
Saved
Tag
Thread
TimelineFederated
@ -663,7 +664,7 @@ func NewFavorites(ac *api.AccountClient) *Feed {
func NewBookmarks(ac *api.AccountClient) *Feed {
feed := &Feed{
accountClient: ac,
feedType: Favorites,
feedType: Saved,
items: make([]api.Item, 0),
apiData: &api.RequestData{},
Update: make(chan DesktopNotificationType, 1),

2
main.go

@ -10,7 +10,7 @@ import (
"github.com/rivo/tview"
)
const version = "1.0.3"
const version = "1.0.4"
func main() {
util.MakeDirs()

3
ui/cmdbar.go

@ -73,7 +73,8 @@ func (c *CmdBar) DoneFunc(key tcell.Key) {
c.tutView.tut.App.Stop()
case ":compose":
c.tutView.InitPost(nil)
c.Back()
c.ClearInput()
c.View.Autocomplete()
case ":blocking":
c.tutView.Timeline.AddFeed(
NewBlocking(c.tutView),

2
ui/feed.go

@ -156,7 +156,7 @@ func NewFederatedFeed(tv *TutView) *Feed {
}
func NewLocalFeed(tv *TutView) *Feed {
f := feed.NewTimelineFederated(tv.tut.Client)
f := feed.NewTimelineLocal(tv.tut.Client)
f.LoadNewer()
fd := &Feed{
tutView: tv,

2
ui/timeline.go

@ -132,6 +132,8 @@ func (tl *Timeline) GetTitle() string {
ct = "timeline home"
case feed.TimelineLocal:
ct = "timeline local"
case feed.Saved:
ct = "saved/bookmarked toots"
case feed.User:
ct = "timeline user"
case feed.UserList:

Loading…
Cancel
Save