Skip to content

Commit

Permalink
chore/minor UI fixes (#1308)
Browse files Browse the repository at this point in the history
* chore: corrected the translation error

* bugfix: fixed basic button left iamge color
  • Loading branch information
Nethius authored Dec 19, 2024
1 parent 367789b commit 48f6cf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/translations/amneziavpn_ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ and will not be shared or disclosed to the Amnezia or any third parties</source>
<message>
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="154"/>
<source>Where to get connection data, step-by-step instructions for buying a VPS</source>
<translation>Где взять данные для подключения, пошаговые инстуркции по покупке VPS</translation>
<translation>Где взять данные для подключения, пошаговые инструкции по покупке VPS</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="170"/>
Expand Down
2 changes: 1 addition & 1 deletion client/ui/qml/Controls2/BasicButtonType.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Button {

property string leftImageSource
property string rightImageSource
property string leftImageColor
property string leftImageColor: textColor
property bool changeLeftImageSize: true

property bool squareLeftSide: false
Expand Down
1 change: 1 addition & 0 deletions client/ui/qml/Pages2/PageHome.qml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ PageType {
text: isSplitTunnelingEnabled ? qsTr("Split tunneling enabled") : qsTr("Split tunneling disabled")

leftImageSource: isSplitTunnelingEnabled ? "qrc:/images/controls/split-tunneling.svg" : ""
leftImageColor: ""
rightImageSource: "qrc:/images/controls/chevron-down.svg"

Keys.onEnterPressed: splitTunnelingButton.clicked()
Expand Down

0 comments on commit 48f6cf9

Please sign in to comment.