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"
|
init_val := "NoName"
|
||||||
|
|
||||||
val, ok := m["directory"]
|
if val, ok := m["directory"] ; ok {
|
||||||
if ok {
|
|
||||||
li.MyType = UI.ICON_TYPES["DIR"]
|
li.MyType = UI.ICON_TYPES["DIR"]
|
||||||
init_val = filepath.Base(m["directory"])
|
init_val = filepath.Base(m["directory"])
|
||||||
li.Path = m["directory"]
|
li.Path = m["directory"]
|
||||||
}
|
}
|
||||||
|
|
||||||
val, ok = m["file"]
|
if val, ok = m["file"]; ok {
|
||||||
if ok {
|
|
||||||
li.MyType = UI.ICON_TYPES["FILE"]
|
li.MyType = UI.ICON_TYPES["FILE"]
|
||||||
li.Path = m["file"]
|
li.Path = m["file"]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user