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
1 changed files with 4 additions and 0 deletions

View File

@ -1837,6 +1837,10 @@ class SidebandApp(MDApp):
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(
title="Add Attachment",
type="simple",