diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index f659d8e..0c1fd6a 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -978,9 +978,6 @@ local function new(args) ret._private.pages_count = 0 ret._private.current_page = 1 - generate_apps(ret) - reset(ret) - if ret.rubato and ret.rubato.x then ret.rubato.x:subscribe(function(pos) ret._private.widget.x = pos @@ -1025,6 +1022,9 @@ local function new(args) end}) end) + generate_apps(ret) + reset(ret) + return ret end