mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
avoid empty directory
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user