mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 07:58:51 +01:00
update
This commit is contained in:
parent
8075ac6290
commit
ef19017718
@ -123,15 +123,13 @@ func (self *MusicLibListPage) SyncList(path string) {
|
||||
|
||||
init_val := "NoName"
|
||||
|
||||
val, ok := m["directory"]
|
||||
if ok {
|
||||
if val, ok := m["directory"] ; ok {
|
||||
li.MyType = UI.ICON_TYPES["DIR"]
|
||||
init_val = filepath.Base(m["directory"])
|
||||
li.Path = m["directory"]
|
||||
}
|
||||
|
||||
val, ok = m["file"]
|
||||
if ok {
|
||||
if val, ok = m["file"]; ok {
|
||||
li.MyType = UI.ICON_TYPES["FILE"]
|
||||
li.Path = m["file"]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user