Skip to content

Commit

Permalink
Dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf committed Sep 18, 2024
1 parent a0203bb commit b9bab05
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions Mlem/App/Views/Shared/CommentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ struct CommentView: View {

HStack(spacing: 12) {
if depth != 0 {
// UnevenRoundedRectangle(
// cornerRadii: .init(topLeading: 6, bottomLeading: 6, bottomTrailing: 0, topTrailing: 0),
// style: .circular
// )
// .fill(palette.commentIndentColors[depth % palette.commentIndentColors.count].gradient)
// .frame(width: 8)
// .padding(2)
Capsule()
.fill(palette.commentIndentColors[depth % palette.commentIndentColors.count])
.frame(width: 3)
Expand Down
1 change: 0 additions & 1 deletion Mlem/App/Views/Shared/CustomTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class CustomTabBarController: UITabBarController, UITabBarControllerDelegate {
super.viewDidLoad()
delegate = self
hidesBottomBarWhenPushed = true

tabBar.tintColor = UIColor(Palette.main.accent)
let longPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureTriggered(_:)))
tabBar.addGestureRecognizer(longPressRecognizer)
Expand Down
1 change: 1 addition & 0 deletions Mlem/App/Views/Shared/ExpandedPost/ExpandedPostView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ struct ExpandedPostView: View {
spacing: Constants.main.standardSpacing
) {
LargePostView(post: post, isExpanded: true)
.clipShape(.rect(cornerRadius: 10))
.id(post.actorId)
.transition(.opacity)
.animation(.easeOut(duration: 0.1), value: post is any Post2Providing)
Expand Down

0 comments on commit b9bab05

Please sign in to comment.