mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
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:
parent
dac0a5edf3
commit
b423a10e69
@ -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) {
|
||||
|
||||
@ -69,6 +69,5 @@
|
||||
android:icon="@drawable/ic_logout"
|
||||
android:title="@string/logout"/>
|
||||
</menu>
|
||||
</item>
|
||||
</group>
|
||||
</menu>
|
||||
Loading…
x
Reference in New Issue
Block a user