mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-14 01:48:47 -04:00
Fixed notes are not saving in custom app
This commit is contained in:
parent
8534b39dfc
commit
bc86ba4e91
@ -179,7 +179,7 @@ class AddNoteDialog : DialogFragment() {
|
||||
* For null input or on being unable to find required text, returns null
|
||||
*/
|
||||
private fun getTextAfterLastSlashWithoutExtension(path: String): String =
|
||||
path.substringAfterLast('/', "").substringBeforeLast('.', "")
|
||||
path.substringAfterLast('/', "").substringBeforeLast('.')
|
||||
|
||||
// Override onBackPressed() to respond to user pressing 'Back' button on navigation bar
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
|
Loading…
x
Reference in New Issue
Block a user