mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-21 23:20:27 -04: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