mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 09:10:04 +02:00
Fix issue #239 - Cross follow does not work
This commit is contained in:
parent
a82bbd25e3
commit
4a5d98bde7
1 changed files with 1 additions and 3 deletions
|
@ -393,8 +393,6 @@ public class ProfileActivity extends BaseActivity {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
binding.accountFollow.setOnClickListener(v -> {
|
binding.accountFollow.setOnClickListener(v -> {
|
||||||
if (doAction == action.NOTHING) {
|
if (doAction == action.NOTHING) {
|
||||||
Toasty.info(ProfileActivity.this, getString(R.string.nothing_to_do), Toast.LENGTH_LONG).show();
|
Toasty.info(ProfileActivity.this, getString(R.string.nothing_to_do), Toast.LENGTH_LONG).show();
|
||||||
|
@ -441,7 +439,7 @@ public class ProfileActivity extends BaseActivity {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
binding.accountNotification.setOnLongClickListener(v -> {
|
binding.accountFollow.setOnLongClickListener(v -> {
|
||||||
CrossActionHelper.doCrossAction(ProfileActivity.this, CrossActionHelper.TypeOfCrossAction.FOLLOW_ACTION, account, null);
|
CrossActionHelper.doCrossAction(ProfileActivity.this, CrossActionHelper.TypeOfCrossAction.FOLLOW_ACTION, account, null);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue