Skip to content

Commit

Permalink
修改context引用,修复dialog无法使用应用主题资源
Browse files Browse the repository at this point in the history
  • Loading branch information
qingtianxiaoyu committed Jun 29, 2020
1 parent 4303d8a commit 7e998eb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {

@Override
public View createView(Context context, LayoutInflater inflater, ViewGroup container) {
mController = new Controller(context.getApplicationContext(), mParams, this);
mController = new Controller(context, mParams, this);
return mController.createView();
}

Expand Down

0 comments on commit 7e998eb

Please sign in to comment.