Skip to content

Commit

Permalink
UI adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-azevedo committed Jun 12, 2024
1 parent 05e7270 commit 8d9d283
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Hacker News Menu Feed.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.2.1;
PRODUCT_BUNDLE_IDENTIFIER = "aestudio.Hacker-News-Menu-Feed";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -340,7 +340,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.2.1;
PRODUCT_BUNDLE_IDENTIFIER = "aestudio.Hacker-News-Menu-Feed";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
2 changes: 1 addition & 1 deletion Hacker News Menu Feed/Components/Actions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct Actions: View {
Image(systemName: "info.circle.fill")
.frame(width: 5)

Text("Feed is refreshed at each 60 seconds")
Text("The data is refreshed automatically every 60 seconds")
.font(.system(size: 12.5))
.foregroundColor(.white)
}
Expand Down
2 changes: 1 addition & 1 deletion Hacker News Menu Feed/Components/CustomLink.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct CustomLink: View {

var body: some View {
Link(destination: URL(string: link)!, label: {
Text(title).underline().padding(.horizontal, -5)
Text(title).underline()
})
.underline()
.foregroundColor(.white)
Expand Down
4 changes: 2 additions & 2 deletions Hacker News Menu Feed/Components/PostsListing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ struct PostsListing: View {
.font(.system(size: 11.5))
}

HStack {
HStack(spacing: 3) {

Text("\(post.score) points by")
.font(.system(size: 12))
.padding(.leading, 17.5)
.padding(.leading, 22)

CustomLink(title: post.by, link: "https://news.ycombinator.com/user?id=\(post.by)")

Expand Down

0 comments on commit 8d9d283

Please sign in to comment.