Skip to content

Commit

Permalink
UI Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
guinmoon committed Sep 2, 2023
1 parent 708bde6 commit 23ca801
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LLMFarm/Chats/ChatListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct ChatListView: View {
HStack{
Text("Chats")
.fontWeight(.semibold)
.font(.title)
.font(.title2)
Spacer()

Button {
Expand Down
13 changes: 7 additions & 6 deletions LLMFarm/Settings/BottomPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import SwiftUI
struct BottomPanelView: View {
@Binding var tabIndex: Int
var body: some View {
Splitter(orientation: .Horizontal,inset: 10, visibleThickness: 1, invisibleThickness: 0)
.opacity(0.5)
// Splitter(orientation: .Horizontal,inset: 10, visibleThickness: 1, invisibleThickness: 0)
// .opacity(0.5)
HStack(){
VStack{
Button {
Expand All @@ -28,7 +28,7 @@ struct BottomPanelView: View {
.font(.footnote)
.opacity(0.5)
}.frame(maxWidth: .infinity, alignment: .center)
.ignoresSafeArea(.keyboard, edges: .bottom)
// .ignoresSafeArea(.keyboard, edges: .bottom)

VStack{
Button {
Expand All @@ -45,9 +45,10 @@ struct BottomPanelView: View {
.font(.footnote)
.opacity(0.5)
}.frame(maxWidth: .infinity, alignment: .center)
.ignoresSafeArea(.keyboard, edges: .bottom)
}.frame(height: 60)
.ignoresSafeArea(.keyboard, edges: .bottom)
// .ignoresSafeArea(.keyboard, edges: .bottom)
}.frame(height: 55)
.background(.regularMaterial)
// .ignoresSafeArea(.keyboard, edges: .bottom)

}
}
Expand Down
2 changes: 1 addition & 1 deletion LLMFarm/Settings/ModelsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct ModelsView: View {
HStack{
Text("Models")
.fontWeight(.semibold)
.font(.title)
.font(.title2)
Spacer()
Button {
Task {
Expand Down

0 comments on commit 23ca801

Please sign in to comment.