Skip to content

Commit

Permalink
Fix text stories in IGStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev4Mod committed Oct 26, 2024
1 parent adda52c commit 4abd511
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ public View getView(int position, @Nullable View convertView, @NonNull ViewGroup

tabdialog.addTab(activity.getString(ResId.string.edit_text), iconEdit, (view) -> {
Intent A09 = new Intent();
A09.setClassName(activity.getPackageName(), "com.whatsapp.textstatuscomposer.TextStatusComposerActivityV2");
if (XposedHelpers.findClassIfExists("com.whatsapp.textstatuscomposer.TextStatusComposerActivity", activity.getClassLoader()) != null) {
A09.setClassName(activity.getPackageName(), "com.whatsapp.textstatuscomposer.TextStatusComposerActivity");
} else {
A09.setClassName(activity.getPackageName(), "com.whatsapp.textstatuscomposer.TextStatusComposerActivityV2");
}
activity.startActivity(A09);
dialog.dismissDialog();
});
Expand Down

0 comments on commit 4abd511

Please sign in to comment.