Remove ReplacementSpan, display diffs using CharacterStyle (#3431)

Remove the use of ReplacementSpan. It turns out this span type is incompatible with spans that occupy more than one line, and the result is that a longer diff can run off the end of the screen. The alternative means that the diff'd text doesn't have additional padding and rounded corners, but it's better than not being visible.

Display the most recent version of the status with larger text. Again, consistent with the thread view.

Display the avatar, name, and username of the poster in a pinned header at the top of the screen, instead of duplicating the information on every edit. This reduces the amount of redundant information on the screen.
This commit is contained in:
Nik Clayton 2023-06-11 19:12:05 +02:00 committed by GitHub
commit 66a394245b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 266 additions and 223 deletions

View file

@ -613,8 +613,8 @@
<string name="send_account_link_to">Profil-Link teilen an </string>
<string name="send_account_username_to">Profilname teilen an </string>
<string name="account_username_copied">Profilname kopiert</string>
<string name="status_edit_info">%1$s bearbeitete %2$s</string>
<string name="status_created_info">%1$s erstellte %2$s</string>
<string name="status_edit_info">%1$s bearbeitete</string>
<string name="status_created_info">%1$s erstellte</string>
<string name="notification_report_format">Neue Meldung über %s</string>
<string name="notification_report_description">Benachrichtigungen über Moderationsmeldungen</string>
<string name="pref_title_notification_filter_reports">es eine neue Meldung gibt</string>
@ -664,4 +664,4 @@
\nDamit du andere Konten entdeckst, kannst du entweder andere Timelines lesen z. B. die Lokale Timeline deiner Instanz [iconics gmd_group] oder du suchst nach Namen [iconics gmd_search] z. B. Tusky, um unser Mastodon-Konto zu finden.</string>
<string name="post_media_image">Bild</string>
<string name="pref_title_show_stat_inline">Beitragsstatistiken in der Timeline anzeigen</string>
</resources>
</resources>