mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
updated translated-text to connectStatusText in ConnectionController
This commit is contained in:
@@ -130,8 +130,9 @@ void ConnectionController::onCurrentContainerUpdated()
|
||||
}
|
||||
}
|
||||
|
||||
void ConnectionController::translateMemoryText()
|
||||
void ConnectionController::onTranslationsUpdated()
|
||||
{
|
||||
// get translated text of current state
|
||||
onConnectionStateChanged(getCurrentConnectionState());
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public slots:
|
||||
|
||||
void onCurrentContainerUpdated();
|
||||
|
||||
void translateMemoryText();
|
||||
void onTranslationsUpdated();
|
||||
|
||||
signals:
|
||||
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container,
|
||||
|
||||
@@ -171,8 +171,6 @@ PageType {
|
||||
onClicked: {
|
||||
tabBarStackView.goToTabBarPage(PageEnum.PageHome)
|
||||
ServersModel.currentlyProcessedIndex = ServersModel.defaultIndex
|
||||
|
||||
ConnectionController.translateMemoryText()
|
||||
}
|
||||
}
|
||||
TabImageButtonType {
|
||||
|
||||
Reference in New Issue
Block a user