fix crash in MainActivity when clicking notification
This commit is contained in:
parent
b4ba457d89
commit
d9e29e2cb6
1 changed files with 2 additions and 1 deletions
|
@ -104,6 +104,8 @@ public class MainActivity extends BaseActivity implements ActionButtonActivity,
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Intent intent = getIntent();
|
||||
int tabPosition = 0;
|
||||
|
||||
|
@ -121,7 +123,6 @@ public class MainActivity extends BaseActivity implements ActionButtonActivity,
|
|||
}
|
||||
}
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
|
||||
FloatingActionButton floatingBtn = findViewById(R.id.floating_btn);
|
||||
|
|
Loading…
Reference in a new issue