mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Minor changes on about_en.txt
This commit is contained in:
parent
86deaf55c0
commit
0b8b9ba57f
@ -22,5 +22,5 @@
|
||||
- This app is under development and will not be stable.<br>
|
||||
- This app is not affiliated with Minecraft, Mojang or Microsoft.<br><br>
|
||||
|
||||
* Translators can be found at https://crowdin.com/project/pojavlauncher
|
||||
* Translators can be found at <a href="https://crowdin.com/project/pojavlauncher">Crowdin</a>
|
||||
|
||||
|
@ -2,10 +2,11 @@ package net.kdt.pojavlaunch;
|
||||
|
||||
import android.app.*;
|
||||
import android.content.*;
|
||||
import androidx.appcompat.app.*;
|
||||
import android.text.*;
|
||||
import android.text.method.*;
|
||||
import android.view.*;
|
||||
import android.widget.*;
|
||||
import androidx.appcompat.app.*;
|
||||
import com.kdt.pickafile.*;
|
||||
import java.io.*;
|
||||
import net.kdt.pojavlaunch.fragments.*;
|
||||
@ -79,8 +80,7 @@ public abstract class BaseLauncherActivity extends BaseActivity {
|
||||
case 4: { // About
|
||||
final AlertDialog.Builder aboutB = new AlertDialog.Builder(BaseLauncherActivity.this);
|
||||
aboutB.setTitle(R.string.mcl_option_about);
|
||||
try
|
||||
{
|
||||
try {
|
||||
aboutB.setMessage(Html.fromHtml(String.format(Tools.read(getAssets().open("about_en.txt")),
|
||||
Tools.APP_NAME,
|
||||
Tools.usingVerName,
|
||||
@ -90,7 +90,9 @@ public abstract class BaseLauncherActivity extends BaseActivity {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
aboutB.setPositiveButton(android.R.string.ok, null);
|
||||
aboutB.show();
|
||||
AlertDialog aboutDialog = aboutB.show();
|
||||
TextView aboutTv = aboutDialog.findViewById(android.R.id.message);
|
||||
aboutTv.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user