Răsfoiți Sursa

remove table rendering

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 ani în urmă
părinte
comite
78c5e5b6d9

+ 0 - 1
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'

+ 0 - 2
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)