Change compare button on menu

main
CAPEL Maxime 2024-01-18 16:15:52 +01:00
parent ed8915b9fe
commit 8d28997ad7
6 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ fun compareResults(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }

View File

@ -98,7 +98,7 @@ fun glossaryList(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }

View File

@ -96,7 +96,7 @@ fun projectList(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }

View File

@ -144,7 +144,7 @@ fun glossaryDetailedPage(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }

View File

@ -168,7 +168,7 @@ fun glossariesPage(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }

View File

@ -125,7 +125,7 @@ fun parsedWordsTable(
noFileSnackbarVisibleState.value = true noFileSnackbarVisibleState.value = true
return@dropdownButtonComponent return@dropdownButtonComponent
} else { } else {
isCompareClicked = true currentPage.value = "compareProject"
} }
} }
} }