feat: support more key icon display type

This commit is contained in:
Lykin
2023-12-05 12:03:00 +08:00
parent ba55cbcbd3
commit 827ca1f2e7
10 changed files with 109 additions and 24 deletions

View File

@@ -47,8 +47,8 @@ func (c *ConnectionsStorage) defaultConnectionItem() types.ConnectionConfig {
func (c *ConnectionsStorage) getConnections() (ret types.Connections) {
b, err := c.storage.Load()
ret = c.defaultConnections()
if err != nil {
ret = c.defaultConnections()
return
}