mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Fix issue with invalid storage dir
This commit is contained in:
parent
41786d99cd
commit
531d019b54
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ public class AppPrefs {
|
|||
|
||||
private void fixInvalidLocalValues() {
|
||||
// You can set the directory to empty in the settings
|
||||
if (storageDirectory.get() == null) {
|
||||
if (storageDirectory.get() == null || storageDirectory.get().toString().isBlank()) {
|
||||
storageDirectory.setValue(DEFAULT_STORAGE_DIR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue