diff --git a/app/src/main/java/org/mian/gitnex/helpers/contexts/RepositoryContext.java b/app/src/main/java/org/mian/gitnex/helpers/contexts/RepositoryContext.java index 4ef3b734..6a769bee 100644 --- a/app/src/main/java/org/mian/gitnex/helpers/contexts/RepositoryContext.java +++ b/app/src/main/java/org/mian/gitnex/helpers/contexts/RepositoryContext.java @@ -161,7 +161,7 @@ public class RepositoryContext implements Serializable { public void setRepository(org.gitnex.tea4j.v2.models.Repository repository) { this.repository = repository; - if(!repository.getFullName().equals(getFullName())) { + if(!repository.getFullName().equalsIgnoreCase(getFullName())) { throw new IllegalArgumentException("repo does not match owner and name"); } }