mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-04 20:00:37 +00:00
Fix issue with invalid storage dir
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user