Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

feat: add splash screen, remove toolbar icon from session list

libokai382cb29591df
diff --git a/Codync-iOS/Views/IOSRootView.swift b/Codync-iOS/Views/IOSRootView.swift
index 383c651f..5db32e52 100644
--- a/Codync-iOS/Views/IOSRootView.swift
+++ b/Codync-iOS/Views/IOSRootView.swift
@@ -9,10 +9,13 @@ struct IOSRootView: View {
@AppStorage("codync_darkMode") private var isDarkMode = true
@State private var displayedSessions: [SessionState] = []
@State private var reorderTimer: Timer?
+ @State private var showSplash = true
var body: some View {
Group {
- if !onboardingComplete {
+ if showSplash {
+ splashView
+ } else if !onboardingComplete {
NavigationStack {
IOSOnboardingView()
}
@@ -51,6 +54,25 @@ struct IOSRootView: View {
}
}
+ private var splashView: some View {
+ ZStack {
+ Color(red: 0.06, green: 0.06, blue: 0.07)
+ .ignoresSafeArea()
+ Image("CodyncIcon")
+ .resizable()
+ .aspectRatio(contentMode: .fit)
+ .frame(width: 80, height: 80)
+ .clipShape(RoundedRectangle(cornerRadius: 18, style: .continuous))
+ }
+ .onAppear {
+ DispatchQueue.main.asyncAfter(deadline: .now() + 1.2) {
+ withAnimation(.easeOut(duration: 0.3)) {
+ showSplash = false
+ }
+ }
+ }
+ }
+
private func sortSessions(_ sessions: [SessionState]) -> [SessionState] {
sessions.sorted { a, b in
let aWeight = a.status == .working ? 0 : a.status == .needsInput ? 1 : 2
diff --git a/Codync-iOS/Views/IOSSessionListView.swift b/Codync-iOS/Views/IOSSessionListView.swift
index 8de3f8e6..2857db73 100644
--- a/Codync-iOS/Views/IOSSessionListView.swift
+++ b/Codync-iOS/Views/IOSSessionListView.swift
@@ -40,13 +40,6 @@ struct IOSSessionListView: View {
.background(theme.background)
.navigationBarTitleDisplayMode(.inline)
.toolbar {
- ToolbarItem(placement: .principal) {
- Image("CodyncIcon")
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: 22, height: 22)
- .clipShape(RoundedRectangle(cornerRadius: 4, style: .continuous))
- }
ToolbarItem(placement: .topBarTrailing) {
Button {
withAnimation(.easeInOut(duration: 0.25)) {