Skip to content

Commit

Permalink
🔥 Remove unnecessary words in team post detail page for add topic met…
Browse files Browse the repository at this point in the history
…hod.
  • Loading branch information
AlexV525 committed Feb 19, 2020
1 parent ece2c3c commit 3ae31a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/post/team_post_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ class TeamPostDetailPageState extends State<TeamPostDetailPage> {
final leftText = _textEditingController.text.substring(0, currentPosition);
final rightText = _textEditingController.text
.substring(currentPosition, _textEditingController.text.length);
result = '$leftText#话题#$rightText';
result = '$leftText##$rightText';
} else {
result = '#话题#';
result = '##';
}
_textEditingController.text = result;
_textEditingController.selection = TextSelection.fromPosition(
Expand Down

0 comments on commit 3ae31a6

Please sign in to comment.