mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Release 3.16.2
This commit is contained in:
parent
de46b38991
commit
58f3d01c87
5 changed files with 16 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue