Skip to content

Commit

Permalink
Description -> Label
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf committed Oct 3, 2023
1 parent 022aa32 commit eefed2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mlem/Views/Tabs/Feeds/Feed View Logic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ extension FeedView {
let isSelected = postSortType == type
let imageName = isSelected ? type.iconNameFill : type.iconName
return MenuFunction.standardMenuFunction(
text: type.description,
text: type.label,
imageName: imageName,
destructiveActionPrompt: nil,
enabled: !isSelected
Expand All @@ -106,7 +106,7 @@ extension FeedView {
PostSortType.availableTopTypes.map { type in
let isSelected = postSortType == type
return MenuFunction.standardMenuFunction(
text: type.description,
text: type.label,
imageName: isSelected ? Icons.timeSortFill : Icons.timeSort,
destructiveActionPrompt: nil,
enabled: !isSelected
Expand Down

0 comments on commit eefed2d

Please sign in to comment.