From 3e66a4fda78109dca680619b5324e0b96cf650c5 Mon Sep 17 00:00:00 2001 From: Sergei Kozelko Date: Wed, 21 Sep 2022 08:23:00 +0300 Subject: Fix reply markdown (#1098) * Display comment body the same way as post body when replying There are two views that support markdown, one of them was used to display post titles and comments, the other - post bodies. The views are configured differently even though post and comment bodies should be displayed the same way. Now post and comment bodies are displayed by the same view. * Rename extra keys from TEXT to TITLE Now these extra keys are used only by post title, reflect this in the name. * Remove markdown support from post title view * Fix reply styling Co-authored-by: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> --- app/src/main/res/layout/activity_comment.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml index 7087b13f..4c685720 100644 --- a/app/src/main/res/layout/activity_comment.xml +++ b/app/src/main/res/layout/activity_comment.xml @@ -37,15 +37,19 @@ + android:fontFamily="?attr/title_font_family" + android:visibility="gone" />