mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
Finish activity in case of external directory (#1110)
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
@@ -172,7 +172,10 @@ class RepoLocationFragment : Fragment(R.layout.fragment_repo_location) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (externalRepo && externalRepoPath != null) {
|
if (externalRepo && externalRepoPath != null) {
|
||||||
if (checkExternalDirectory()) return
|
if (checkExternalDirectory()) {
|
||||||
|
finish()
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
createRepository()
|
createRepository()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user