Added warning icon to send dialog

This commit is contained in:
M66B
2023-10-22 09:12:22 +02:00
parent e92b908f77
commit d28f524fff
2 changed files with 5 additions and 0 deletions

View File

@@ -262,6 +262,9 @@ public class FragmentDialogSend extends FragmentDialogBase {
ibMore.setImageTintList(ColorStateList.valueOf(color));
tvMore.setTextColor(color);
tvMore.setTypeface(warning ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT);
tvMore.setCompoundDrawablesRelativeWithIntrinsicBounds(
0, 0,
warning ? R.drawable.twotone_warning_24 : 0, 0);
}
};