From d1347193475c6ee165a55f4461c3b75fed76e4a7 Mon Sep 17 00:00:00 2001 From: Ksaper Date: Sun, 5 Feb 2023 02:20:23 +0200 Subject: [PATCH] At last --- widget/app_launcher/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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