diff options
author | Thomas <tschneider.ac@gmail.com> | 2023-01-29 17:56:40 +0100 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2023-01-29 17:56:40 +0100 |
commit | 58f3d01c874bfb9466a20eac2808e76220949cf9 (patch) | |
tree | 3f4aa1be624204966f5c9585c3e96d49aed53b19 /app | |
parent | de46b38991ff909f21c40321003edba318f42a47 (diff) |
Release 3.16.2
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 4 | ||||
-rw-r--r-- | app/src/main/assets/release_notes/notes.json | 5 | ||||
-rw-r--r-- | app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java | 5 |
3 files changed, 11 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle index c62380489..2f198b3dc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { defaultConfig { minSdk 21 targetSdk 33 - versionCode 473 - versionName "3.16.1" + versionCode 474 + versionName "3.16.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } flavorDimensions "default" diff --git a/app/src/main/assets/release_notes/notes.json b/app/src/main/assets/release_notes/notes.json index 73beee0c1..feca59e65 100644 --- a/app/src/main/assets/release_notes/notes.json +++ b/app/src/main/assets/release_notes/notes.json @@ -1,5 +1,10 @@ [ { + "version": "3.16.2", + "code": "474", + "note": "Added:\n- Peertube support\n- Compose shortcut (long press launcher)\n- Long press compose button to write with another account\n- Edit description and focus for media (for the next Mastodon release)\n\nChanged:\n- Cross actions with two accounts display a dialog\n- Order & compact og values when sharing > title - url - content\n- Tap on top message (user info) open threads\n\nFixed:\n- Text cleared when adding a media\n- Fix Maths not working with quotes\n- Fix crashes" + }, + { "version": "3.16.1", "code": "473", "note": "Changed:\n- Edit description and focus for media (for the next Mastodon release)\n\nChanged:\n- Peertube: remove role support to avoid crashes with older instances\n\nFixed:\n- Fix some crashes" diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java index 5d1519826..b5abedd87 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java @@ -680,7 +680,10 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> MathJaxView mathview = new MathJaxView(context, mathJaxConfig); holder.binding.statusContentMaths.addView(mathview); if (status.contentSpan != null) { - mathview.setInputText(status.contentSpan.toString()); + String input = status.contentSpan.toString(); + input = input.replaceAll("'", "'"); + input = input.replaceAll("\"", """); + mathview.setInputText(input); } else { status.mathsShown = false; holder.binding.statusContentMaths.setVisibility(View.GONE); |