fix: switch app to itself cancel vibrations

Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.comm>
This commit is contained in:
thiswillbeyourgithub 2022-02-24 18:20:26 +01:00 committed by Daniel Thompson
parent a76c2413fb
commit 7ac9395dba

View file

@ -245,6 +245,9 @@ class Manager():
def switch(self, app):
"""Switch to the requested application.
"""
if self.app is app:
return
if self.app:
if 'background' in dir(self.app):
try: