mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix issue #11
This commit is contained in:
parent
6796550398
commit
8184686d29
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
|||
binding.drawerLayout.close();
|
||||
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 -> {
|
||||
Intent intent = new Intent(BaseMainActivity.this, ProfileActivity.class);
|
||||
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));
|
||||
startActivity(intent, options.toBundle());
|
||||
});
|
||||
headerMainBinding.accountAcc.setOnClickListener(v -> headerMainBinding.changeAccount.callOnClick());
|
||||
headerMainBinding.changeAccount.setOnClickListener(v -> {
|
||||
headerMenuOpen = !headerMenuOpen;
|
||||
if (headerMenuOpen) {
|
||||
|
|
Loading…
Reference in a new issue