mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 03:16:27 -04:00
#2322 removed bang operator
This commit is contained in:
parent
3e1b49e92f
commit
85ea2da4ec
@ -149,7 +149,7 @@ class AddNoteDialog : DialogFragment() {
|
|||||||
} else {
|
} else {
|
||||||
noteFileName = getTextAfterLastSlashWithoutExtension(articleUrl)
|
noteFileName = getTextAfterLastSlashWithoutExtension(articleUrl)
|
||||||
}
|
}
|
||||||
return (if (noteFileName.isNotEmpty()) noteFileName else articleTitle)!!
|
return (if (noteFileName.isNotEmpty()) noteFileName else articleTitle) ?: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
/* From ".../Kiwix/granbluefantasy_en_all_all_nopic_2018-10.zim", returns "granbluefantasy_en_all_all_nopic_2018-10"
|
/* From ".../Kiwix/granbluefantasy_en_all_all_nopic_2018-10.zim", returns "granbluefantasy_en_all_all_nopic_2018-10"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user