mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
DeviceListener: Unify Notification usage
This commit is contained in:
@@ -224,9 +224,7 @@ if Device:canToggleGSensor() then
|
||||
else
|
||||
new_text = _("Accelerometer rotation events on.")
|
||||
end
|
||||
UIManager:show(Notification:new{
|
||||
text = new_text,
|
||||
})
|
||||
Notification:notify(new_text)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user