mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Remove usage of HtmlCompat
This commit is contained in:
parent
4bb5ee52d9
commit
b91355da47
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ import android.widget.TextView;
|
||||||
import androidx.activity.ComponentActivity;
|
import androidx.activity.ComponentActivity;
|
||||||
import androidx.annotation.StringRes;
|
import androidx.annotation.StringRes;
|
||||||
import androidx.appcompat.app.AlertDialog;
|
import androidx.appcompat.app.AlertDialog;
|
||||||
import androidx.core.text.HtmlCompat;
|
|
||||||
|
|
||||||
import com.beemdevelopment.aegis.Preferences;
|
import com.beemdevelopment.aegis.Preferences;
|
||||||
import com.beemdevelopment.aegis.R;
|
import com.beemdevelopment.aegis.R;
|
||||||
|
@ -70,7 +69,7 @@ public class Dialogs {
|
||||||
View view = activity.getLayoutInflater().inflate(R.layout.dialog_delete_entry, null);
|
View view = activity.getLayoutInflater().inflate(R.layout.dialog_delete_entry, null);
|
||||||
TextView textMessage = view.findViewById(R.id.text_message);
|
TextView textMessage = view.findViewById(R.id.text_message);
|
||||||
TextView textExplanation = view.findViewById(R.id.text_explanation);
|
TextView textExplanation = view.findViewById(R.id.text_explanation);
|
||||||
textExplanation.setText(HtmlCompat.fromHtml(activity.getString(R.string.delete_entry_explanation, TextUtils.join(", ", services)), HtmlCompat.FROM_HTML_MODE_COMPACT));
|
textExplanation.setText(activity.getString(R.string.delete_entry_explanation, TextUtils.join(", ", services)));
|
||||||
|
|
||||||
String title, message;
|
String title, message;
|
||||||
if (services.size() > 1) {
|
if (services.size() > 1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue