mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 18:22:02 +08:00
add some
This commit is contained in:
parent
038f419c8a
commit
9829b5c3ef
@ -170,7 +170,7 @@ func GoToast(m *ice.Message, title string, cb func(toast func(name string, count
|
|||||||
toast(kit.JoinWord(list...), len(list), _total)
|
toast(kit.JoinWord(list...), len(list), _total)
|
||||||
} else {
|
} else {
|
||||||
icon = Icons[ice.SUCCESS]
|
icon = Icons[ice.SUCCESS]
|
||||||
m.Option(ice.TOAST_DURATION, "3s")
|
m.Option(ice.TOAST_DURATION, "1s")
|
||||||
toast(ice.SUCCESS, _total, _total)
|
toast(ice.SUCCESS, _total, _total)
|
||||||
}
|
}
|
||||||
m.Sleep(m.Option(ice.TOAST_DURATION))
|
m.Sleep(m.Option(ice.TOAST_DURATION))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user