Wrap non-translatable strings so that they do not get exported

This commit is contained in:
2023-02-15 10:44:44 -05:00
parent 59211bb4fd
commit 355cd1283c
17 changed files with 31 additions and 61 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ struct ChatView: View {
}
var ReplyDescription: some View {
Text("\(reply_desc(profiles: damus_state.profiles, event: event))")
Text(String("\(reply_desc(profiles: damus_state.profiles, event: event))"))
.font(.footnote)
.foregroundColor(.gray)
.frame(alignment: .leading)
@@ -89,7 +89,7 @@ struct ChatView: View {
ProfileName(pubkey: event.pubkey, profile: damus_state.profiles.lookup(id: event.pubkey), damus: damus_state, show_friend_confirmed: true)
.foregroundColor(colorScheme == .dark ? id_to_color(event.pubkey) : Color.black)
//.shadow(color: Color.black, radius: 2)
Text("\(format_relative_time(event.created_at))")
Text(String("\(format_relative_time(event.created_at))"))
.foregroundColor(.gray)
}
}