From 78c5e5b6d9e67cc162622ae7339d3b511f816175 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 10 Jul 2023 17:51:01 +0200 Subject: [PATCH] remove table rendering Signed-off-by: Andy Scherzinger --- app/build.gradle | 1 - .../main/java/com/nextcloud/talk/utils/message/MessageUtils.kt | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index b0a340a85..a81d6e69f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -271,7 +271,6 @@ dependencies { implementation "io.noties.markwon:core:$markwonVersion" implementation "io.noties.markwon:ext-strikethrough:$markwonVersion" - implementation "io.noties.markwon:ext-tables:$markwonVersion" implementation "io.noties.markwon:ext-tasklist:$markwonVersion" implementation 'com.github.nextcloud-deps:ImagePicker:2.1.0.2' diff --git a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt index dc542a418..8148a580f 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt @@ -35,7 +35,6 @@ import io.noties.markwon.Markwon import io.noties.markwon.MarkwonConfiguration import io.noties.markwon.core.MarkwonTheme import io.noties.markwon.ext.strikethrough.StrikethroughPlugin -import io.noties.markwon.ext.tables.TablePlugin import io.noties.markwon.ext.tasklist.TaskListDrawable import io.noties.markwon.ext.tasklist.TaskListPlugin @@ -133,7 +132,6 @@ class MessageUtils(val context: Context) { } } }) - .usePlugin(TablePlugin.create(context)) .usePlugin(TaskListPlugin.create(drawable)) .usePlugin(StrikethroughPlugin.create()).build() return markwon.toMarkdown(markdown)