Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: mobile camera android permission (#6900)
Mathias Mogensen603d65a790c9
diff --git a/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml b/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xmlindex 279b17320c..b9a349f2cb 100644--- a/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml+++ b/frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml@@ -65,4 +65,5 @@--><uses-permission android:name="android.permission.READ_MEDIA_AUDIO" /><uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />+ <uses-permission android:name="android.permission.CAMERA" /></manifest>\ No newline at end of filediff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_attachment_item.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_attachment_item.dartindex a20b727a12..8aa9ca7aac 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_attachment_item.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_attachment_item.dart@@ -84,14 +84,11 @@ Future<bool?> showAddAttachmentMenu(elevation: 20,isScrollControlled: false,enableDraggableScrollable: true,- builder: (_) => Padding(- padding: EdgeInsets.all(16 * context.scale),- child: _AddAttachmentMenu(- documentId: documentId,- isLocalMode: isLocalMode,- editorState: editorState,- selection: selection,- ),+ builder: (_) => _AddAttachmentMenu(+ documentId: documentId,+ isLocalMode: isLocalMode,+ editorState: editorState,+ selection: selection,),);