Fixed bug with title being underlined after saving
This commit is contained in:
parent
d902c10378
commit
68a0fe2b39
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ public class MainActivity extends AppCompatActivity
|
|||
builder.setPositiveButton("OK", (dialog, which) -> {
|
||||
if (input.getText().length() > 0) {
|
||||
presenter.setFileName(input.getText().toString());
|
||||
setTitle(input.getText());
|
||||
setTitle(presenter.getFileName());
|
||||
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
|
||||
String path = getDocsPath() + input.getText();
|
||||
presenter.saveMarkdown(path);
|
||||
|
|
Loading…
Reference in a new issue