We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d98d80e commit f06111dCopy full SHA for f06111d
app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/ContactBlockedVerify.java
@@ -89,9 +89,10 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
89
}
90
var textView = (TextView) view.findViewById(0x7f990001);
91
if (textView != null) {
92
- textView.setText(ResId.string.checking_if_the_contact_is_blocked);
93
- textView.setTextColor(DesignUtils.getPrimaryTextColor());
94
- textView.postInvalidate();
+ textView.post(() -> {
+ textView.setText(ResId.string.checking_if_the_contact_is_blocked);
+ textView.setTextColor(DesignUtils.getPrimaryTextColor());
95
+ });
96
} else {
97
var textView1 = createTextMessageView(activity);
98
view.post(() -> view.addView(textView1));
0 commit comments