Fix Header problem in markdown bottom bar.

This commit is contained in:
Alex Ning 2020-09-18 22:09:35 +08:00
parent bf8103aa17
commit 8a999a04c3

View File

@ -169,22 +169,22 @@ public class MarkdownBottomBarRecyclerViewAdapter extends RecyclerView.Adapter<R
String hashTags; String hashTags;
switch (seekBar.getProgress()) { switch (seekBar.getProgress()) {
case 0: case 0:
hashTags = "######"; hashTags = "###### ";
break; break;
case 1: case 1:
hashTags = "#####"; hashTags = "##### ";
break; break;
case 2: case 2:
hashTags = "####"; hashTags = "#### ";
break; break;
case 3: case 3:
hashTags = "###"; hashTags = "### ";
break; break;
case 4: case 4:
hashTags = "##"; hashTags = "## ";
break; break;
default: default:
hashTags = "#"; hashTags = "# ";
break; break;
} }
if (end != start) { if (end != start) {