From 1ce01ea90a475e4e803e521bc64941f027cc13c1 Mon Sep 17 00:00:00 2001 From: 50/50 <80717571+50n50@users.noreply.github.com> Date: Sat, 31 May 2025 22:42:00 +0200 Subject: [PATCH] Less wide tab bar (#143) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Minor changes * more minor changes * MORE MINOR CHANGES * Fixed one singular bug * Update SettingsViewGeneral.swift * fuck conflicts * fuck you and your credits * buh buh * Update SettingsViewAbout.swift * What's that? What's a properly working code without unnecessary issues? * Type shit maybe? * Create ios.yml * smol * type shi shi * end * Fixed system theme bug * (hopefully) fixed sliding items in search + recent searches spam * Fixed open keyboard in media view * Fixed searchviewdata + fixed toggle color being too light * fixed episode slider sensitivity * new recent searches, not fully done but wtv WHO CARES 💯 * Add module screen fix * Delete .github/workflows/ios.yml * UI modifications * Scroll to close keyboard * Text change * Downloadview transition * Search cards text fixed * Reduced header spacing + moved down a to match library * Text change * Small tab bar tweak for search view * added gradient to player buttons * reduced summary size * IBH special 💯 * Fixed different height text? * Removed seperator * Some more fixes start watching button * MediaInfoView modifications * Fixed settingsviewdata * Changed x mark and fixed episode swipe for 4 items * Delete Package.resolved * fix * fix * Update Package.resolved * Removed version lalel type shi * Who thought this view existed? 😭 * Less wide tab bar --------- Co-authored-by: cranci <100066266+cranci1@users.noreply.github.com> --- Sora/Utils/TabBar/TabBar.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sora/Utils/TabBar/TabBar.swift b/Sora/Utils/TabBar/TabBar.swift index 88c9bbf..30cf019 100644 --- a/Sora/Utils/TabBar/TabBar.swift +++ b/Sora/Utils/TabBar/TabBar.swift @@ -229,7 +229,7 @@ struct TabBar: View { .foregroundStyle(selectedTab == index ? .black : .gray) .padding(.vertical, 8) .padding(.horizontal, 10) - .frame(maxWidth: .infinity) + .frame(width: 70) .opacity(selectedTab == index ? 1 : 0.5) } else { VStack { @@ -246,7 +246,7 @@ struct TabBar: View { } .padding(.vertical, 8) .padding(.horizontal, 10) - .frame(maxWidth: .infinity) + .frame(width: 80) .opacity(selectedTab == index ? 1 : 0.5) } }