mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Fixed invalid import
This commit is contained in:
parent
7ac24c76ec
commit
534acaba17
@ -1640,7 +1640,12 @@ class SidebandApp(MDApp):
|
||||
raise NotImplementedError(audio_field[0])
|
||||
|
||||
if self.msg_sound == None:
|
||||
if RNS.vendor.platformutils.is_android():
|
||||
from plyer import audio
|
||||
self.request_microphone_permission()
|
||||
else:
|
||||
from sbapp.plyer import audio
|
||||
|
||||
self.msg_sound = audio
|
||||
|
||||
self.msg_sound._file_path = temp_path
|
||||
|
Loading…
Reference in New Issue
Block a user