This commit is contained in:
yumoqing 2021-02-06 21:55:09 +08:00
parent bfbf3c6177
commit 93aaa1ecbb

View File

@ -25,14 +25,14 @@ from .message import Conform
from .pagepanel import PagePanel from .pagepanel import PagePanel
from .markdown import Markdown from .markdown import Markdown
from .custom_camera import CustomCamera, QrReader from .custom_camera import CustomCamera, QrReader
if kivy.platform in ['win','linux', 'macosx']:
from .camerawithmic import ScreenWithMic
from .camerawithmic import CameraWithMic from .camerawithmic import CameraWithMic
#if kivy.platform in ['win','linux', 'macosx']:
# from .camerawithmic import ScreenWithMic
r = Factory.register r = Factory.register
if kivy.platform in ['win','linux', 'macosx']: if kivy.platform in ['win','linux', 'macosx']:
r('ScreenWithMic', ScreenWithMic) r('ScreenWithMic', ScreenWithMic)
# r('CameraWithMic', CameraWithMic) r('CameraWithMic', CameraWithMic)
r('CustomCamera', CustomCamera) r('CustomCamera', CustomCamera)
r('QrReader', QrReader) r('QrReader', QrReader)
r('Markdown', Markdown) r('Markdown', Markdown)