mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
Protect against action bar
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
08f959c060
commit
cb55e32355
@ -130,7 +130,9 @@ public class CallsListController extends BaseController implements SearchView.On
|
|||||||
super.onViewBound(view);
|
super.onViewBound(view);
|
||||||
NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
|
NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
|
||||||
|
|
||||||
getActionBar().show();
|
if (getActionBar() != null) {
|
||||||
|
getActionBar().show();
|
||||||
|
}
|
||||||
|
|
||||||
userEntity = userUtils.getCurrentUser();
|
userEntity = userUtils.getCurrentUser();
|
||||||
|
|
||||||
|
@ -234,7 +234,10 @@ public class SettingsController extends BaseController {
|
|||||||
@Override
|
@Override
|
||||||
protected void onAttach(@NonNull View view) {
|
protected void onAttach(@NonNull View view) {
|
||||||
super.onAttach(view);
|
super.onAttach(view);
|
||||||
getActionBar().show();
|
|
||||||
|
if (getActionBar() != null) {
|
||||||
|
getActionBar().show();
|
||||||
|
}
|
||||||
|
|
||||||
dispose(null);
|
dispose(null);
|
||||||
userEntity = userUtils.getCurrentUser();
|
userEntity = userUtils.getCurrentUser();
|
||||||
|
@ -179,7 +179,9 @@ public class SwitchAccountController extends BaseController {
|
|||||||
adapter.addListener(onSwitchItemClickListener);
|
adapter.addListener(onSwitchItemClickListener);
|
||||||
adapter.updateDataSet(userItems, false);
|
adapter.updateDataSet(userItems, false);
|
||||||
} else {
|
} else {
|
||||||
getActionBar().show();
|
if (getActionBar() != null) {
|
||||||
|
getActionBar().show();
|
||||||
|
}
|
||||||
Account account;
|
Account account;
|
||||||
ImportAccount importAccount;
|
ImportAccount importAccount;
|
||||||
for (Object accountObject : AccountUtils.findAccounts(userUtils.getUsers())) {
|
for (Object accountObject : AccountUtils.findAccounts(userUtils.getUsers())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user