From 4036a79995f9f086bd9a1b3768778ba28db3ac35 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 6 Oct 2024 01:53:36 +0800 Subject: [PATCH] :bug: Fix some building time problem --- android/gradle.properties | 1 + lib/screens/posts/post_editor.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/android/gradle.properties b/android/gradle.properties index 5f5d39d..2e65647 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -4,3 +4,4 @@ android.enableJetifier=true android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false +kotlin.jvm.target.validation.mode = IGNORE diff --git a/lib/screens/posts/post_editor.dart b/lib/screens/posts/post_editor.dart index 96bfa7c..b0cd784 100644 --- a/lib/screens/posts/post_editor.dart +++ b/lib/screens/posts/post_editor.dart @@ -376,6 +376,7 @@ class _PostPublishScreenState extends State { Expanded( child: SingleChildScrollView( child: MarkdownTextContent( + isAutoWarp: _editorController.mode.value == 0, content: _editorController.contentController.text, parentId: 'post-editor-preview', ).paddingOnly(top: 12, right: 16),