-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix color storage Still need to fix random coloring in preview schedule and weird list animations in schedule view
- Loading branch information
Showing
24 changed files
with
315 additions
and
244 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
tumble-ios/Core/Views/AppNavigation/DrawerButtonView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// DrawerButtonView.swift | ||
// tumble-ios | ||
// | ||
// Created by Adis Veletanlic on 2023-01-26. | ||
// | ||
|
||
import SwiftUI | ||
|
||
typealias OnToggleDrawer = () -> Void | ||
|
||
struct DrawerButtonView: View { | ||
let onToggleDrawer: OnToggleDrawer | ||
let menuOpened: Bool | ||
var body: some View { | ||
Button(action: { | ||
onToggleDrawer() | ||
}, label: { | ||
Image(systemName: menuOpened ? "xmark" : "line.3.horizontal") | ||
.font(.system(size: 17)) | ||
.foregroundColor(Color("OnBackground")) | ||
}) | ||
} | ||
} | ||
|
27 changes: 27 additions & 0 deletions
27
tumble-ios/Core/Views/AppNavigation/SearchButtonView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// SearchButtonView.swift | ||
// tumble-ios | ||
// | ||
// Created by Adis Veletanlic on 2023-01-26. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct SearchButtonView: View { | ||
var body: some View { | ||
NavigationLink(destination: | ||
SearchParentView() | ||
.navigationBarBackButtonHidden(true) | ||
.navigationBarItems(leading: BackButton()), label: { | ||
Image(systemName: "magnifyingglass") | ||
.font(.system(size: 17)) | ||
.foregroundColor(Color("OnBackground")) | ||
}) | ||
} | ||
} | ||
|
||
struct SearchButtonView_Previews: PreviewProvider { | ||
static var previews: some View { | ||
SearchButtonView() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.