Fixed bug with title being underlined after saving
This commit is contained in:
parent
b63cef8c1b
commit
6981f8458d
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