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