Add method to dynamically update app launcher favorites
This commit is contained in:
parent
ee9c8b1283
commit
1e694218df
|
@ -573,6 +573,12 @@ local function generate_apps(self)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Sets favorites
|
||||||
|
function app_launcher:set_favorites(favorites)
|
||||||
|
self.favorites = favorites
|
||||||
|
generate_apps(self)
|
||||||
|
end
|
||||||
|
|
||||||
--- Scrolls up
|
--- Scrolls up
|
||||||
function app_launcher:scroll_up()
|
function app_launcher:scroll_up()
|
||||||
scroll(self, "up")
|
scroll(self, "up")
|
||||||
|
|
Loading…
Reference in New Issue