Finish activity in case of external directory (#1110)
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
parent
bad8e2b404
commit
afbe29e7da
1 changed files with 4 additions and 1 deletions
|
@ -172,7 +172,10 @@ class RepoLocationFragment : Fragment(R.layout.fragment_repo_location) {
|
|||
return
|
||||
}
|
||||
if (externalRepo && externalRepoPath != null) {
|
||||
if (checkExternalDirectory()) return
|
||||
if (checkExternalDirectory()) {
|
||||
finish()
|
||||
return
|
||||
}
|
||||
}
|
||||
createRepository()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue