Skip to content

Commit

Permalink
Fix source card label showing
Browse files Browse the repository at this point in the history
  • Loading branch information
twodayslate committed Oct 3, 2022
1 parent 21cd799 commit 029a5e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ec3730.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@
CODE_SIGN_ENTITLEMENTS = ec3730/ec3730.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 10;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_TEAM = C6L3992RFB;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
INFOPLIST_FILE = ec3730/Info.plist;
Expand Down Expand Up @@ -1366,7 +1366,7 @@
CODE_SIGN_ENTITLEMENTS = ec3730/ec3730.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 10;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_TEAM = C6L3992RFB;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
INFOPLIST_FILE = ec3730/Info.plist;
Expand Down
3 changes: 2 additions & 1 deletion ec3730/Views/Source/SourceCard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct SourceCardView: View {
ZStack(alignment: .bottom) {
GeometryReader { reader in
WebWrapperView(webView: $webView, source: $source, url: $url, isLoading: $isLoading)
.padding(.bottom, reader.size.height * Style.minimumSizeFration)
.padding(.bottom, max(0, reader.size.height * Style.minimumSizeFration - 10)) // 10 is the shadow of the SnapDrawer
}
GeometryReader { reader in
VStack {
Expand Down Expand Up @@ -83,6 +83,7 @@ struct SourceCardView: View {
.bold()
})
.pickerStyle(.menu)
.labelsHidden()
Spacer()
}

Expand Down

0 comments on commit 029a5e7

Please sign in to comment.