show a Save as dialog at selecting "Save as file"

This commit is contained in:
tibbi
2017-03-07 22:28:40 +01:00
parent 524b439d91
commit 6e67949f0a
4 changed files with 119 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import com.simplemobiletools.notes.adapters.NotesPagerAdapter
import com.simplemobiletools.notes.dialogs.NewNoteDialog
import com.simplemobiletools.notes.dialogs.OpenNoteDialog
import com.simplemobiletools.notes.dialogs.RenameNoteDialog
import com.simplemobiletools.notes.dialogs.SaveAsDialog
import com.simplemobiletools.notes.extensions.config
import com.simplemobiletools.notes.extensions.getTextSize
import com.simplemobiletools.notes.helpers.DBHelper
@ -186,7 +187,9 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
}
private fun saveAsFile() {
SaveAsDialog(this, mCurrentNote.title) {
}
}
private fun displayDeleteNotePrompt() {