mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
avoid empty directory
This commit is contained in:
parent
bb8cc0412f
commit
511e9fe838
@ -203,7 +203,7 @@ public class PasswordStore extends AppCompatActivity {
|
||||
localDir.mkdir();
|
||||
try {
|
||||
PasswordRepository.createRepository(localDir);
|
||||
|
||||
new File(localDir.getAbsolutePath() + "/.gpg-id").createNewFile();
|
||||
settings.edit().putBoolean("repository_initialized", true).apply();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
Loading…
x
Reference in New Issue
Block a user