mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Reply rendering (#861)
* Cleanup how we use message timeline items in preparation for rich reply rendering * Expose reply details up to the UI level * Render replies in the timeline (textual for now). Remove now unused AttributedStringBuilderComponent isReply flag. * Move reply detail loading to when the item appears instead of when it's created. * Fix unit tests * Fetch event details also when the reply details are in the error state * Tweaks following code review * Localise emote bodies * Fix replies not loading sometimes, use the current event identifier instead of the one being replied to
This commit is contained in:
@@ -138,6 +138,10 @@ public enum L10n {
|
||||
public static var commonEditedSuffix: String { return L10n.tr("Localizable", "common_edited_suffix") }
|
||||
/// Editing
|
||||
public static var commonEditing: String { return L10n.tr("Localizable", "common_editing") }
|
||||
/// * %1$@ %2$@
|
||||
public static func commonEmote(_ p1: Any, _ p2: Any) -> String {
|
||||
return L10n.tr("Localizable", "common_emote", String(describing: p1), String(describing: p2))
|
||||
}
|
||||
/// Encryption enabled
|
||||
public static var commonEncryptionEnabled: String { return L10n.tr("Localizable", "common_encryption_enabled") }
|
||||
/// Error
|
||||
|
||||
Reference in New Issue
Block a user