DeviceListener: Unify Notification usage

reviewable/pr9750/r10^2
NiLuJe 2 years ago
parent ce02e92937
commit 47734eefef

@ -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

Loading…
Cancel
Save