From 8184686d29e07e156176e4d8fcdc4d29a7865fe0 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 29 Apr 2022 18:03:11 +0200 Subject: [PATCH] Fix issue #11 --- app/src/main/java/app/fedilab/android/BaseMainActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/BaseMainActivity.java b/app/src/main/java/app/fedilab/android/BaseMainActivity.java index 1e13850a..59ae449c 100644 --- a/app/src/main/java/app/fedilab/android/BaseMainActivity.java +++ b/app/src/main/java/app/fedilab/android/BaseMainActivity.java @@ -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) {