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