Skip to content

Commit

Permalink
fix: the cloud icon is displayed in black
Browse files Browse the repository at this point in the history
Change the SVG icon to a DCI icon.

Log: ui display
  • Loading branch information
xionglinlin authored and deepin-bot[bot] committed Dec 20, 2024
1 parent 2cdfb1a commit ee3485e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 44 deletions.
4 changes: 3 additions & 1 deletion src/plugin-deepinid/operation/qrc/deepinid.qrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<RCC>
<qresource prefix="/dsg">
<file>icons/dcc_cloud_logo.dci</file>
</qresource>
<qresource prefix="/icons/deepin/builtin">
<file>icons/dcc_login_bg.svg</file>
<file>icons/dcc_cloud_logo.svg</file>
<file>icons/waitting.svg</file>
</qresource>
</RCC>
Binary file not shown.
39 changes: 0 additions & 39 deletions src/plugin-deepinid/operation/qrc/icons/dcc_cloud_logo.svg

This file was deleted.

7 changes: 3 additions & 4 deletions src/plugin-deepinid/qml/LoginPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ DccObject {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
fillMode: Image.Pad
clip: true
clip: true
source: "qrc:/icons/deepin/builtin/icons/dcc_login_bg.svg"
}

Image {
D.DciIcon {
id: logoImage
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
fillMode: Image.Pad
source: "qrc:/icons/deepin/builtin/icons/dcc_cloud_logo.svg"
name: "dcc_cloud_logo"
}
}

Expand Down

0 comments on commit ee3485e

Please sign in to comment.