From dab656e9ab2e959fd8ff700faec04e088d24f283 Mon Sep 17 00:00:00 2001
From: MaiTungTM <49202599+Lagrio@users.noreply.github.com>
Date: Fri, 9 Sep 2022 19:29:45 +0800
Subject: [PATCH] ui: Switch to QAPro Icon
---
app/icons/QAPro/ic_qauxiliary_pro/icon.xml | 81 +++++++++++++++++++
.../ic_qauxiliary_pro/icon_qa_background.xml | 33 ++++++++
.../ic_qauxiliary_pro/icon_qa_foreground.xml | 67 +++++++++++++++
.../src/main/kotlin/task/ReplaceIcon.kt | 3 +-
4 files changed, 183 insertions(+), 1 deletion(-)
create mode 100644 app/icons/QAPro/ic_qauxiliary_pro/icon.xml
create mode 100644 app/icons/QAPro/ic_qauxiliary_pro/icon_qa_background.xml
create mode 100644 app/icons/QAPro/ic_qauxiliary_pro/icon_qa_foreground.xml
diff --git a/app/icons/QAPro/ic_qauxiliary_pro/icon.xml b/app/icons/QAPro/ic_qauxiliary_pro/icon.xml
new file mode 100644
index 0000000000..486daae229
--- /dev/null
+++ b/app/icons/QAPro/ic_qauxiliary_pro/icon.xml
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_background.xml b/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_background.xml
new file mode 100644
index 0000000000..80829a03cd
--- /dev/null
+++ b/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_background.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_foreground.xml b/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_foreground.xml
new file mode 100644
index 0000000000..8808032f35
--- /dev/null
+++ b/app/icons/QAPro/ic_qauxiliary_pro/icon_qa_foreground.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/build-logic/convention/src/main/kotlin/task/ReplaceIcon.kt b/build-logic/convention/src/main/kotlin/task/ReplaceIcon.kt
index acc1d40fab..aee2015969 100644
--- a/build-logic/convention/src/main/kotlin/task/ReplaceIcon.kt
+++ b/build-logic/convention/src/main/kotlin/task/ReplaceIcon.kt
@@ -45,7 +45,8 @@ abstract class ReplaceIcon : Copy() {
val random = Random(commitHash.toSeed())
// copy new icons
val iconFileDirs = listOf(
- File(iconsDir, "classic"),
+ File(iconsDir, "QAPro"),
+ //File(iconsDir, "classic"),
//File(iconsDir, "ChineseNewYearIcons")
)
val iconFile = iconFileDirs.random(random).listFiles()!!.random(random)