Update Glossary.kt
parent
200cb8e013
commit
408b61eabc
|
@ -183,8 +183,7 @@ fun glossariesPage(
|
|||
}
|
||||
|
||||
private fun handleGlossaryDeletion(glossary: Glossary) {
|
||||
val file =
|
||||
File(glossaryPath + (appState.selectedProject?.name) + "/" + glossary.jsonFilePath)
|
||||
val file = File("${glossaryPath}${appState.selectedProject?.name}/${glossary.jsonFilePath}")
|
||||
val deletionResult = file.delete()
|
||||
|
||||
if (deletionResult) {
|
||||
|
|
Loading…
Reference in New Issue