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

@ -572,8 +572,8 @@
<string name="account_date_joined">Далучыўся(-лася) %1$s</string>
<string name="account_note_saved">Захавана!</string>
<string name="dialog_push_notification_migration_other_accounts">Вы паўторна зайшлі ў бягучы ўліковы запіс, каб дазволіць Tusky падпісацца на push-апавяшчэнні. Але ў Вас яшчэ засталіся ўліковыя запісы, якія не мігрыравалі такім чынам. Пераключыцеся на іх і зайдзіце паўторна, каб уключыць падтрымку апавяшчэнняў праз UnifiedPush.</string>
<string name="status_edit_info">%1$s адрэдагаваў(-ла) %2$s</string>
<string name="status_created_info">%1$s стварыў(-ла) %2$s</string>
<string name="status_edit_info">%1$s адрэдагаваў(-ла)</string>
<string name="status_created_info">%1$s стварыў(-ла)</string>
<string name="pref_title_hide_top_toolbar">Схаваць загаловак верхняй панэлі інструментаў</string>
<string name="account_note_hint">Ваша асабістая нататка пра гэты ўліковы запіс</string>
<string name="pref_title_confirm_favourites">Патрабаваць пацвярджэнне перад упадабаннем</string>
@ -671,4 +671,4 @@
<string name="filter_keyword_display_format">%s (цэлае слова)</string>
<string name="filter_keyword_addition_title">Дадаць ключавое слова</string>
<string name="filter_edit_keyword_title">Змяніць ключавое слова</string>
</resources>
</resources>