This commit is contained in:
Thomas 2022-04-29 18:03:11 +02:00
parent 6796550398
commit 8184686d29

View file

@ -265,7 +265,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
binding.drawerLayout.close(); binding.drawerLayout.close();
return false; return false;
}); });
headerMainBinding.instanceInfoContainer.setOnClickListener(v -> startActivity(new Intent(BaseMainActivity.this, InstanceHealthActivity.class))); headerMainBinding.instanceInfo.setOnClickListener(v -> startActivity(new Intent(BaseMainActivity.this, InstanceHealthActivity.class)));
headerMainBinding.accountProfilePicture.setOnClickListener(v -> { headerMainBinding.accountProfilePicture.setOnClickListener(v -> {
Intent intent = new Intent(BaseMainActivity.this, ProfileActivity.class); Intent intent = new Intent(BaseMainActivity.this, ProfileActivity.class);
Bundle b = new Bundle(); Bundle b = new Bundle();
@ -275,6 +275,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
.makeSceneTransitionAnimation(BaseMainActivity.this, headerMainBinding.instanceInfoContainer, getString(R.string.activity_porfile_pp)); .makeSceneTransitionAnimation(BaseMainActivity.this, headerMainBinding.instanceInfoContainer, getString(R.string.activity_porfile_pp));
startActivity(intent, options.toBundle()); startActivity(intent, options.toBundle());
}); });
headerMainBinding.accountAcc.setOnClickListener(v -> headerMainBinding.changeAccount.callOnClick());
headerMainBinding.changeAccount.setOnClickListener(v -> { headerMainBinding.changeAccount.setOnClickListener(v -> {
headerMenuOpen = !headerMenuOpen; headerMenuOpen = !headerMenuOpen;
if (headerMenuOpen) { if (headerMenuOpen) {