This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve Movies Page (#455) * Updated movies page * cleanup of my local movies page * NavigationTitle logic on MovieDetailView * removed NavigationTitle instead create offset of back button to background * Fixed date issue * Changed movie title icon. Removed location info. Added sheet view for movies. * Add manual dismiss button and bar to hint swipe down gesture. * Fix dismiss button * improved Movie Overview Card Design * Add space at bottom of MovieDetailedView Co-authored-by: August Wittgenstein <august.wittgenstein@tum.de> * Movie Card View: conform to darkmode Co-authored-by: Atharva Mathapati <92479959+Atharva-Mathapati@users.noreply.github.com>
- Loading branch information
1 parent
b2568f8
commit 4725d98
Showing
11 changed files
with
396 additions
and
69 deletions.
There are no files selected for viewing
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
33 changes: 33 additions & 0 deletions
33
Campus-iOS/MoviesComponent/Views/MovieDetailsBasicInfoRowView.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,33 @@ | ||
// | ||
// MovieDetaislBasicInfoRowView.swift | ||
// Campus-iOS | ||
// | ||
// Created by Atharva Mathapati on 23.06.22. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct MovieDetailsBasicInfoRowView: View { | ||
var iconName: String | ||
var text: String | ||
|
||
var body: some View { | ||
HStack(alignment: .center, spacing: 12) { | ||
Image(systemName: iconName) | ||
.imageScale(.medium) | ||
.frame(width: 25, height: 25, alignment: .center) | ||
Text(text) | ||
.font(.system(size: 16)) | ||
} | ||
} | ||
} | ||
|
||
struct MovieDetaislBasicInfoRowView_Previews: PreviewProvider { | ||
static var previews: some View { | ||
MovieDetailsBasicInfoRowView( | ||
iconName: "number", | ||
text: "test" | ||
) | ||
} | ||
} | ||
|
Oops, something went wrong.