Update pulse-loeb-component.nut

This commit is contained in:
okvdai
2023-07-31 22:58:52 +02:00
parent 48c415c9ba
commit 5a5591d7b4
@@ -1,18 +1,7 @@
global function pulseRegisterWithLoeb global function pulseRegisterWithLoeb
global function pulseLoebFunc
void function pulseRegisterWithLoeb() void function pulseRegisterWithLoeb()
{ {
loebLogMod(pulseLoebFunc()) bool success = pulseGetData()
} loebSetLockedButton(Localize("#MENU_TITLE_STATS"), success)
void function pulseLoebFunc()
{
print("func called")
GetStats()
}
void function GetStats()
{
loebSetLockedButton(Localize("#MENU_TITLE_STATS"), pulseGetData())
} }