ScreenSaverWidget: Simplify the setDirty call
No need for a closure, there's no dimen involved.
This commit is contained in:
1 parent
39744d7642
commit
a8a944cbaf
1 file changed
+1
-3
@@ -87,9 +87,7 @@ function ScreenSaverWidget:onCloseWidget()
|
||||
end
|
||||
|
||||
-- Make it full-screen (self.main_frame.dimen might be in a different orientation, and it's already full-screen anyway...)
|
||||
UIManager:setDirty(nil, function()
|
||||
return "full"
|
||||
end)
|
||||
UIManager:setDirty(nil, "full")
|
||||
|
||||
-- Will come after the Resume event, iff screensaver_delay is set.
|
||||
-- Comes *before* it otherwise.
|
||||
|
||||
Reference in new issue
Block a user