More polishes over the Changelog feature

This commit is contained in:
LucasGGamerM 2022-12-25 16:01:22 -03:00
parent 14cd23c28b
commit ea43070e6d
3 changed files with 14 additions and 2 deletions

View File

@ -894,7 +894,8 @@ public class SettingsFragment extends MastodonToolbarFragment{
progress.setVisibility(View.GONE);
progress.removeCallbacks(progressUpdater);
}
changelog.setText(getString(R.string.sk_changelog, info.changelog));
changelog.setText(info.changelog);
// changelog.setText(getString(R.string.sk_changelog, info.changelog));
}
private void updateProgress(){

View File

@ -78,6 +78,17 @@
</LinearLayout>
<TextView
android:id="@+id/changelog_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?android:textColorPrimary"
android:textStyle="bold"
android:textSize="16dp"
android:paddingStart="16dp"
android:paddingBottom="8dp"
android:text="@string/sk_changelog" />
<TextView
android:id="@+id/changelog"
android:layout_width="match_parent"

View File

@ -27,7 +27,7 @@
<string name="sk_federated_timeline_info_banner">These are the most recent posts by the people in your federation.</string>
<string name="sk_update_available">Moshidon %s is ready to download.</string>
<string name="sk_update_ready">Moshidon %s is downloaded and ready to install.</string>
<string name="sk_changelog">Changelog: \n%s</string>
<string name="sk_changelog">Changelog:</string>
<string name="sk_check_for_update">Check for update</string>
<string name="sk_no_update_available">No update available</string>
<string name="sk_list_timelines">Lists</string>