Skip to content
Snippets Groups Projects
Commit e701ffd9 authored by Aline Bonnet's avatar Aline Bonnet Committed by Alexandre Lision
Browse files

contact requests: fix the top pane


When we click on the contact request notification, the pending contact
requests screen opens with the top pane to indicate the concerned
account. Now, this indicate is displayed only if this account is
different from the selected account.

Change-Id: Id36fa8158dcf3d5d63f2fd3c4bcf1d1f30b462ff
Reviewed-by: default avatarAlexandre Lision <alexandre.lision@savoirfairelinux.com>
parent f4cbb041
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ public class PendingContactRequestsPresenter extends RootPresenter<GenericView<P
}
}
boolean hasPane = mAccountID != null;
boolean hasPane = mAccountID != null && !mAccountID.equals(mAccountService.getCurrentAccount().getAccountID());
getView().showViewModel(new PendingContactRequestsViewModel(currentAccount, mTrustRequests, hasPane));
mNotificationService.cancelTrustRequestNotification(currentAccount.getAccountID());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment