Only allow recording on Android >= 10

This commit is contained in:
Mark Qvist 2024-06-06 14:38:54 +02:00
parent 3a67ecb942
commit a0b40fc825

View File

@ -1837,6 +1837,10 @@ class SidebandApp(MDApp):
ad_items.pop(3) ad_items.pop(3)
ad_items.pop(3) ad_items.pop(3)
if RNS.vendor.platformutils.is_android() and android_api_version < 29:
ad_items.pop(3)
ad_items.pop(3)
self.attach_dialog = MDDialog( self.attach_dialog = MDDialog(
title="Add Attachment", title="Add Attachment",
type="simple", type="simple",