mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 07:20:35 +00:00
Fix NPE
This commit is contained in:
+1
-2
@@ -65,8 +65,7 @@ public class PasswordManagerIdentityStoreProvider extends IdentityStoreProvider
|
||||
var hideSshKeyChoice = Bindings.createBooleanBinding(
|
||||
() -> {
|
||||
var pwman = AppPrefs.get().passwordManager().getValue();
|
||||
var strat = pwman.getKeyConfiguration();
|
||||
return strat.useInline() && sshKey.get() == null;
|
||||
return pwman == null || pwman.getKeyConfiguration().useInline() && sshKey.get() == null;
|
||||
},
|
||||
AppPrefs.get().passwordManager(),
|
||||
sshKey);
|
||||
|
||||
Reference in New Issue
Block a user