fix: waku2 lightmode selector

This commit is contained in:
Richard Ramos 2021-11-15 14:02:05 -04:00
parent df670bfcbb
commit c9a0488e89
1 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ ScrollView {
btnText: qsTrId("light-node")
onToggled: {
if (!root.store.isWakuV2LightClient) {
openPopup(wakuV2ModeConfirmationDialogComponent, {light: true})
openPopup(wakuV2ModeConfirmationDialogComponent, {mode: true})
} else {
btnWakuV2Light.click()
}
@ -378,7 +378,7 @@ ScrollView {
btnText: qsTrId("full-node")
onToggled: {
if (root.store.isWakuV2LightClient) {
openPopup(wakuV2ModeConfirmationDialogComponent, {light: false})
openPopup(wakuV2ModeConfirmationDialogComponent, {mode: false})
} else {
btnWakuV2Full.click()
}