修改社区没办法送礼问题

This commit is contained in:
18401019693 2023-02-23 14:20:05 +08:00
parent 05ede89cba
commit ba23f720eb

View File

@ -549,8 +549,8 @@ public class MyWebViewActivity extends AbsActivity {
if (!TextUtils.isEmpty(event.getMethod())) { if (!TextUtils.isEmpty(event.getMethod())) {
if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) { if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) {
Constants.nowPostsId = event.getPostsId(); Constants.nowPostsId = event.getPostsId();
EncourageDialog fragment = new EncourageDialog(); EncourageDialog fragment = new EncourageDialog();
fragment.setId(event.getPostsId());
fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog"); fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog");
} else if (TextUtils.equals(event.getMethod(), "modifyMydata")) { } else if (TextUtils.equals(event.getMethod(), "modifyMydata")) {
indexInto = event.getIndexInto(); indexInto = event.getIndexInto();