diff --git a/src/Assets/Icons/anilibrialogodark.svg b/src/Assets/Icons/anilibrialogodark.svg new file mode 100644 index 00000000..01ad28f1 --- /dev/null +++ b/src/Assets/Icons/anilibrialogodark.svg @@ -0,0 +1 @@ +Лого анилибрии \ No newline at end of file diff --git a/src/Views/About.qml b/src/Views/About.qml index 177e4e27..dd05d450 100644 --- a/src/Views/About.qml +++ b/src/Views/About.qml @@ -87,7 +87,7 @@ Page { id: anilibriaLogoImage anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter - source: assetsLocation.iconsPath + "anilibrialogodefault.svg" + source: applicationThemeViewModel.basedOnDark ? assetsLocation.iconsPath + "anilibrialogodark.svg" : assetsLocation.iconsPath + "anilibrialogodefault.svg" mipmap: true width: 200 height: 200 diff --git a/src/main.qml b/src/main.qml index 97d4c4f1..57fffdb4 100644 --- a/src/main.qml +++ b/src/main.qml @@ -843,7 +843,7 @@ ApplicationWindow { Image { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter - source: "Assets/Icons/anilibrialogodefault.svg" + source: applicationThemeViewModel.basedOnDark ? assetsLocation.iconsPath + "anilibrialogodark.svg" : assetsLocation.iconsPath + "anilibrialogodefault.svg" mipmap: true width: 50 height: 50 diff --git a/src/qml.qrc b/src/qml.qrc index 159b77aa..1dc9d3f8 100644 --- a/src/qml.qrc +++ b/src/qml.qrc @@ -231,5 +231,6 @@ Assets/Icons/releases/customgroup.svg Views/ReleaseCustomGroups.qml Assets/Icons/colorededit.svg + Assets/Icons/anilibrialogodark.svg