Release 3.16.2

This commit is contained in:
Thomas 2023-01-29 17:56:40 +01:00
parent de46b38991
commit 58f3d01c87
5 changed files with 16 additions and 5 deletions

View file

@ -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"

View file

@ -1,4 +1,9 @@
[
{
"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",

View file

@ -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("'", "&#39;");
input = input.replaceAll("\"", "&#34;");
mathview.setInputText(input);
} else {
status.mathsShown = false;
holder.binding.statusContentMaths.setVisibility(View.GONE);

View file

@ -167,7 +167,9 @@ public class MathJaxView extends FrameLayout {
mWebView.setHorizontalScrollBarEnabled(horizontalScrollbarsEnabled);
mWebView.setBackgroundColor(0);
mWebView.getSettings().setLoadWithOverviewMode(true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
WebView.setWebContentsDebuggingEnabled(true);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
String process = getProcessName(context);
if (!context.getPackageName().equals(process))

View file

@ -1,6 +1,6 @@
Added:
- Peertube support
- Compose shortcut
- Compose shortcut (long press launcher)
- Long press compose button to write with another account
- Edit description and focus for media (for the next Mastodon release)
@ -11,4 +11,5 @@ Changed:
Fixed:
- Text cleared when adding a media
- Fix Maths not working with quotes
- Fix crashes