mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
fix exception when clearing a server alias
This commit is contained in:
@@ -158,7 +158,7 @@ public class ServerAliasDialog extends Dialog<Server> {
|
||||
}
|
||||
|
||||
public Server getServer() {
|
||||
return new Server(server.getUrl(), labelProperty.get());
|
||||
return new Server(server.getUrl(), labelProperty.get().isEmpty() ? null : labelProperty.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user