Skip to content

Commit

Permalink
Merge branch 'dev' into sjmarf/open-links-setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf authored Jan 16, 2024
2 parents 911f05e + 2e24521 commit dded4c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Mlem/Enums/Settings/PostSortType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ enum PostSortType: String, Codable, CaseIterable, Identifiable {
case .topHour:
return "Top of the last hour"
case .topSixHour:
return "Top of the last six hours"
return "Top of the last 6 hours"
case .topTwelveHour:
return "Top of the last twelve hours"
return "Top of the last 12 hours"
case .topDay:
return "Top of today"
case .topWeek:
Expand Down Expand Up @@ -164,9 +164,9 @@ extension PostSortType: SettingsOptions {
case .topHour:
return "Hour"
case .topSixHour:
return "Six Hours"
return "6 Hours"
case .topTwelveHour:
return "Twelve Hours"
return "12 Hours"
case .topDay:
return "Day"
case .topWeek:
Expand Down
4 changes: 2 additions & 2 deletions Mlem/Views/Shared/Comments/Comment Item Logic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ extension CommentItem {

// upvote
let (upvoteText, upvoteImg) = hierarchicalComment.commentView.myVote == .upvote ?
("Undo upvote", Icons.upvoteSquareFill) :
("Undo Upvote", Icons.upvoteSquareFill) :
("Upvote", Icons.upvoteSquare)
ret.append(MenuFunction.standardMenuFunction(
text: upvoteText,
Expand All @@ -166,7 +166,7 @@ extension CommentItem {

// downvote
let (downvoteText, downvoteImg) = hierarchicalComment.commentView.myVote == .downvote ?
("Undo downvote", Icons.downvoteSquareFill) :
("Undo Downvote", Icons.downvoteSquareFill) :
("Downvote", Icons.downvoteSquare)
ret.append(MenuFunction.standardMenuFunction(
text: downvoteText,
Expand Down

0 comments on commit dded4c3

Please sign in to comment.