aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-18 14:09:35 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-18 14:09:35 +0000
commit8a999a04c372311bed0f3d890a42e387969e2954 (patch)
treeab795c84b833df75e06b2a18937e9c60b5be10e2 /app/src/main/java
parentbf8103aa17821572fbfbbde7406a8057bfe3c19f (diff)
downloadinfinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar.gz
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar.bz2
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar.lz
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar.xz
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.tar.zst
infinity-for-reddit-8a999a04c372311bed0f3d890a42e387969e2954.zip
Fix Header problem in markdown bottom bar.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/MarkdownBottomBarRecyclerViewAdapter.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/MarkdownBottomBarRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/MarkdownBottomBarRecyclerViewAdapter.java
index b421c2e0..be458bab 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/MarkdownBottomBarRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/MarkdownBottomBarRecyclerViewAdapter.java
@@ -169,22 +169,22 @@ public class MarkdownBottomBarRecyclerViewAdapter extends RecyclerView.Adapter<R
String hashTags;
switch (seekBar.getProgress()) {
case 0:
- hashTags = "######";
+ hashTags = "###### ";
break;
case 1:
- hashTags = "#####";
+ hashTags = "##### ";
break;
case 2:
- hashTags = "####";
+ hashTags = "#### ";
break;
case 3:
- hashTags = "###";
+ hashTags = "### ";
break;
case 4:
- hashTags = "##";
+ hashTags = "## ";
break;
default:
- hashTags = "#";
+ hashTags = "# ";
break;
}
if (end != start) {