Fix arrow icons on Android
This commit is contained in:
@@ -443,8 +443,11 @@ if(ANDROID)
|
|||||||
target_sources(neochat-app PRIVATE notifyrc.qrc)
|
target_sources(neochat-app PRIVATE notifyrc.qrc)
|
||||||
target_link_libraries(neochat PUBLIC Qt::Svg OpenSSL::SSL)
|
target_link_libraries(neochat PUBLIC Qt::Svg OpenSSL::SSL)
|
||||||
kirigami_package_breeze_icons(ICONS
|
kirigami_package_breeze_icons(ICONS
|
||||||
"arrow-down"
|
"arrow-down-symbolic"
|
||||||
"arrow-up"
|
"arrow-up-symbolic"
|
||||||
|
"arrow-up-double-symbolic"
|
||||||
|
"arrow-left-symbolic"
|
||||||
|
"arrow-right-symbolic"
|
||||||
"checkmark"
|
"checkmark"
|
||||||
"help-about"
|
"help-about"
|
||||||
"im-user"
|
"im-user"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ QQC2.ItemDelegate {
|
|||||||
Kirigami.Icon {
|
Kirigami.Icon {
|
||||||
width: Kirigami.Units.gridUnit * 0.5
|
width: Kirigami.Units.gridUnit * 0.5
|
||||||
height: Kirigami.Units.gridUnit * 0.5
|
height: Kirigami.Units.gridUnit * 0.5
|
||||||
source: "arrow-down"
|
source: "arrow-down-symbolic"
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
visible: root.showTones
|
visible: root.showTones
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ Kirigami.Page {
|
|||||||
text: root.currentStep.nextAction && root.currentStep.nextAction.text ? root.currentStep.nextAction.text : i18nc("@action:button", "Continue")
|
text: root.currentStep.nextAction && root.currentStep.nextAction.text ? root.currentStep.nextAction.text : i18nc("@action:button", "Continue")
|
||||||
visible: root.currentStep.nextAction
|
visible: root.currentStep.nextAction
|
||||||
onClicked: root.currentStep.nextAction.trigger()
|
onClicked: root.currentStep.nextAction.trigger()
|
||||||
icon.name: "arrow-right"
|
icon.name: "arrow-right-symbolic"
|
||||||
enabled: root.currentStep.nextAction ? root.currentStep.nextAction.enabled : false
|
enabled: root.currentStep.nextAction ? root.currentStep.nextAction.enabled : false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -240,7 +240,7 @@ Kirigami.Page {
|
|||||||
text: i18nc("@action:button", "Go back")
|
text: i18nc("@action:button", "Go back")
|
||||||
visible: root.currentStep.previousAction
|
visible: root.currentStep.previousAction
|
||||||
onClicked: root.currentStep.previousAction.trigger()
|
onClicked: root.currentStep.previousAction.trigger()
|
||||||
icon.name: "arrow-left"
|
icon.name: "arrow-left-symbolic"
|
||||||
enabled: root.currentStep.previousAction ? root.currentStep.previousAction.enabled : false
|
enabled: root.currentStep.previousAction ? root.currentStep.previousAction.enabled : false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Kirigami.PromptDialog {
|
|||||||
QQC2.Button {
|
QQC2.Button {
|
||||||
text: i18nc("@action:button", "Leave Room")
|
text: i18nc("@action:button", "Leave Room")
|
||||||
QQC2.DialogButtonBox.buttonRole: QQC2.DialogButtonBox.AcceptRole
|
QQC2.DialogButtonBox.buttonRole: QQC2.DialogButtonBox.AcceptRole
|
||||||
icon.name: "arrow-left"
|
icon.name: "arrow-left-symbolic"
|
||||||
onClicked: RoomManager.leaveRoom(root.room)
|
onClicked: RoomManager.leaveRoom(root.room)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Loader {
|
|||||||
|
|
||||||
QQC2.MenuItem {
|
QQC2.MenuItem {
|
||||||
text: room.isLowPriority ? i18n("Reprioritize") : i18n("Deprioritize")
|
text: room.isLowPriority ? i18n("Reprioritize") : i18n("Deprioritize")
|
||||||
icon.name: room.isLowPriority ? "arrow-up" : "arrow-down"
|
icon.name: room.isLowPriority ? "arrow-up-symbolic" : "arrow-down-symbolic"
|
||||||
onTriggered: room.isLowPriority ? room.removeTag("m.lowpriority") : room.addTag("m.lowpriority", 1.0)
|
onTriggered: room.isLowPriority ? room.removeTag("m.lowpriority") : room.addTag("m.lowpriority", 1.0)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ Loader {
|
|||||||
|
|
||||||
Delegates.RoundedItemDelegate {
|
Delegates.RoundedItemDelegate {
|
||||||
text: room.isLowPriority ? i18n("Reprioritize") : i18n("Deprioritize")
|
text: room.isLowPriority ? i18n("Reprioritize") : i18n("Deprioritize")
|
||||||
icon.name: room.isLowPriority ? "arrow-up" : "arrow-down"
|
icon.name: room.isLowPriority ? "arrow-up-symbolic" : "arrow-down-symbolic"
|
||||||
onClicked: room.isLowPriority ? room.removeTag("m.lowpriority") : room.addTag("m.lowpriority", 1.0)
|
onClicked: room.isLowPriority ? room.removeTag("m.lowpriority") : room.addTag("m.lowpriority", 1.0)
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ QQC2.ScrollView {
|
|||||||
|
|
||||||
Delegates.RoundedItemDelegate {
|
Delegates.RoundedItemDelegate {
|
||||||
id: leaveButton
|
id: leaveButton
|
||||||
icon.name: "arrow-left"
|
icon.name: "arrow-left-symbolic"
|
||||||
text: i18nc("@action:button", "Leave this room")
|
text: i18nc("@action:button", "Leave this room")
|
||||||
activeFocusOnTab: true
|
activeFocusOnTab: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user