mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
this fixes #2594
This commit is contained in:
parent
2c47203a05
commit
9481f790ac
@ -426,7 +426,7 @@ public class IssuePagerActivity extends BaseActivity<IssuePagerMvp.View, IssuePa
|
||||
}
|
||||
|
||||
private void hideShowFab() {
|
||||
if (getPresenter().isLocked() && !getPresenter().isOwner()) {
|
||||
if (getPresenter().isLocked() && !getPresenter().isOwner() && !getPresenter().isCollaborator()) {
|
||||
getSupportFragmentManager().beginTransaction().hide(commentEditorFragment).commit();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -574,7 +574,7 @@ public class PullRequestPagerActivity extends BaseActivity<PullRequestPagerMvp.V
|
||||
}
|
||||
|
||||
private void hideShowFab() {
|
||||
if (getPresenter().isLocked() && !getPresenter().isOwner()) {
|
||||
if (getPresenter().isLocked() && !getPresenter().isOwner() && !getPresenter().isCollaborator()) {
|
||||
getSupportFragmentManager().beginTransaction()
|
||||
.setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out)
|
||||
.hide(commentEditorFragment).commit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user