File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/src/main/java/com/github/mobile/ui/issue Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,7 @@ protected void onCreate(Bundle savedInstanceState) {
203
203
// avatar URL
204
204
if (issueNumbers .length == 1
205
205
&& (user .get () == null || user .get ().getAvatarUrl () == null ))
206
- new RefreshRepositoryTask (this , repo != null ? repo
207
- : repoIds .get (0 )) {
206
+ new RefreshRepositoryTask (this , repo != null ? repo : repoIds .get (0 )) {
208
207
209
208
@ Override
210
209
protected void onSuccess (Repository fullRepository )
@@ -345,8 +344,8 @@ private void checkCollaboratorStatus() {
345
344
346
345
@ Override
347
346
protected Boolean run (Account account ) throws Exception {
348
- return collaboratorService .isCollaborator (
349
- repo , AccountUtils .getLogin (IssuesViewActivity .this ));
347
+ return collaboratorService .isCollaborator (repo != null ? repo : repoIds . get ( 0 ),
348
+ AccountUtils .getLogin (IssuesViewActivity .this ));
350
349
}
351
350
352
351
@ Override
You can’t perform that action at this time.
0 commit comments