mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 05:48:09 +00:00
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
@ -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…
x
Reference in New Issue
Block a user