Skip to content

Commit

Permalink
fix: remove reference to removed dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomatree committed Feb 19, 2024
1 parent 3800f92 commit 1101fc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Revolt/Components/MessageRenderer/MessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import Foundation
import SwiftUI
import Shiny

struct MessageView: View {
@StateObject var viewModel: MessageContentsViewModel
Expand Down Expand Up @@ -49,7 +48,7 @@ struct MessageView: View {
VStack(alignment: .leading, spacing: 0) {
HStack {
let name = viewModel.message.masquerade?.name ?? viewModel.member?.nickname ?? viewModel.author.display_name ?? viewModel.author.username
let _ = print(name)

Text(verbatim: name)
.onTapGesture {
if !isStatic {
Expand Down

0 comments on commit 1101fc1

Please sign in to comment.