mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +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])
|
raise NotImplementedError(audio_field[0])
|
||||||
|
|
||||||
if self.msg_sound == None:
|
if self.msg_sound == None:
|
||||||
from plyer import audio
|
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 = audio
|
||||||
|
|
||||||
self.msg_sound._file_path = temp_path
|
self.msg_sound._file_path = temp_path
|
||||||
|
Loading…
Reference in New Issue
Block a user