Skip to content

Commit

Permalink
Merge branch 'main' into iOS-18
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Jul 2, 2024
2 parents a56afca + 7b9cfc2 commit 416dc70
Show file tree
Hide file tree
Showing 9 changed files with 758 additions and 297 deletions.
6 changes: 6 additions & 0 deletions IceCubesApp/App/AppRegistry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ extension View {
selectedTagGroup: .constant(nil),
scrollToTopSignal: .constant(0),
canFilterTimeline: false)
case let .linkTimeline(url, title):
TimelineView(timeline: .constant(.link(url: url, title: title)),
pinnedFilters: .constant([]),
selectedTagGroup: .constant(nil),
scrollToTopSignal: .constant(0),
canFilterTimeline: false)
case let .following(id):
AccountsListView(mode: .following(accountId: id))
case let .followers(id):
Expand Down
3 changes: 2 additions & 1 deletion IceCubesApp/App/Tabs/Tabs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class SidebarTabs {
.init(tab: .favorites, enabled: true),
.init(tab: .followedTags, enabled: true),
.init(tab: .lists, enabled: true),
.init(tab: .links, enabled: true),

.init(tab: .settings, enabled: true),
.init(tab: .profile, enabled: true),
Expand Down Expand Up @@ -221,7 +222,7 @@ class iOSTabs {
@AppStorage(TabEntries.first.rawValue) var firstTab = Tab.timeline
@AppStorage(TabEntries.second.rawValue) var secondTab = Tab.notifications
@AppStorage(TabEntries.third.rawValue) var thirdTab = Tab.explore
@AppStorage(TabEntries.fourth.rawValue) var fourthTab = Tab.messages
@AppStorage(TabEntries.fourth.rawValue) var fourthTab = Tab.links
@AppStorage(TabEntries.fifth.rawValue) var fifthTab = Tab.profile
}

Expand Down
Loading

0 comments on commit 416dc70

Please sign in to comment.