mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Style info color
This commit is contained in:
@@ -24,7 +24,7 @@ public class ToastEx extends Toast {
|
||||
view.setBackground(context.getResources().getDrawable(R.drawable.toast_background, context.getTheme()));
|
||||
|
||||
TextView tv = view.findViewById(android.R.id.message);
|
||||
tv.setTextColor(Helper.resolveColor(context, R.attr.colorToastForeground));
|
||||
tv.setTextColor(Helper.resolveColor(context, R.attr.colorInfoForeground));
|
||||
tv.setText(text);
|
||||
toast.setView(view);
|
||||
toast.setDuration(duration);
|
||||
|
||||
Reference in New Issue
Block a user