Editor Dynamically Removes Signature in Edit Mode.

Before, when editing a post you made, it would display the signature if
there. Now it removes it, and adds it dynamically on submit.
This commit is contained in:
Jedi Burrell 2017-05-17 01:27:01 -04:00
parent dac0a5edf3
commit b423a10e69
2 changed files with 5 additions and 1 deletions

View File

@ -244,6 +244,11 @@ public class EditorActivity extends BaseActivity<EditorMvp.View, EditorPresenter
.show();
ActivityHelper.showDismissHints(this, () -> {});
}
if (editText.getText().toString().contains(sentFromFastHub)){
editText.setText(editText.getText().toString().replace(sentFromFastHub, ""));
sentVia.setChecked(true);
}
}
@Override public void onSendResultAndFinish(@NonNull Comment commentModel, boolean isNew) {

View File

@ -69,6 +69,5 @@
android:icon="@drawable/ic_logout"
android:title="@string/logout"/>
</menu>
</item>
</group>
</menu>