fix(mobile): restore trans app icon (#1785)
<!-- Please read https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before submitting your pull request --> ### Description <!-- Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Fixes # #### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ### Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings ### AI disclosure: - [ ] Partially AI assisted (clarify which code was AI assisted and briefly explain what it does). - [ ] Fully AI generated (explain what all the generated code does in moderate detail). <!-- Write any explanation required here, but do not generate the explanation using AI!! You must prove you understand what the code in this PR does. -->
No files matched your search
@@ -19,8 +19,10 @@
|
||||
<string>AppIconAgender</string>
|
||||
<key>bisexual</key>
|
||||
<string>AppIconBisexual</string>
|
||||
<key>gradient</key>
|
||||
<string>AppIconGradient</string>
|
||||
<key>trans</key>
|
||||
<string>AppIconTrans</string>
|
||||
<key>transgradient</key>
|
||||
<string>AppIconTransgradient</string>
|
||||
<key>intersex</key>
|
||||
<string>AppIconIntersex</string>
|
||||
<key>lesbian</key>
|
||||
|
||||
@@ -16,7 +16,12 @@
|
||||
},
|
||||
{ "id": "agender", "source": "icons/app-icons/agender.svg", "backgroundColor": "#1A1C28" },
|
||||
{ "id": "bisexual", "source": "icons/app-icons/bisexual.svg", "backgroundColor": "#1A1C28" },
|
||||
{ "id": "gradient", "source": "icons/app-icons/gradient.svg", "backgroundColor": "#1A1C28" },
|
||||
{ "id": "trans", "source": "icons/app-icons/trans.png", "backgroundColor": "#5BCEFA" },
|
||||
{
|
||||
"id": "transgradient",
|
||||
"source": "icons/app-icons/trans-gradient.svg",
|
||||
"backgroundColor": "#1A1C28"
|
||||
},
|
||||
{ "id": "intersex", "source": "icons/app-icons/intersex.svg", "backgroundColor": "#1A1C28" },
|
||||
{ "id": "lesbian", "source": "icons/app-icons/lesbian.svg", "backgroundColor": "#1A1C28" },
|
||||
{ "id": "mlm", "source": "icons/app-icons/mlm.svg", "backgroundColor": "#1A1C28" },
|
||||
|
||||
@@ -188,15 +188,32 @@
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".AppIconGradient"
|
||||
android:name=".AppIconTrans"
|
||||
android:targetActivity=".MainActivity"
|
||||
android:icon="@mipmap/ic_launcher_gradient"
|
||||
android:roundIcon="@mipmap/ic_launcher_gradient"
|
||||
android:icon="@mipmap/ic_launcher_trans"
|
||||
android:roundIcon="@mipmap/ic_launcher_trans"
|
||||
android:enabled="false"
|
||||
android:exported="true">
|
||||
<meta-data
|
||||
android:name="tauri-plugin-app-icon-id"
|
||||
android:value="gradient" />
|
||||
android:value="trans" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".AppIconTransgradient"
|
||||
android:targetActivity=".MainActivity"
|
||||
android:icon="@mipmap/ic_launcher_transgradient"
|
||||
android:roundIcon="@mipmap/ic_launcher_transgradient"
|
||||
android:enabled="false"
|
||||
android:exported="true">
|
||||
<meta-data
|
||||
android:name="tauri-plugin-app-icon-id"
|
||||
android:value="transgradient" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-anydpi-v26/ic_launcher_gradient.xml
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-anydpi-v26/ic_launcher_trans.xml
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-anydpi-v26/ic_launcher_transgradient.xml
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_gradient.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_gradient_foreground.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_gradient_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_trans.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_trans_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_trans_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_transgradient.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_transgradient_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-hdpi/ic_launcher_transgradient_round.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_gradient.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_gradient_foreground.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_gradient_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_trans.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_trans_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_trans_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_transgradient.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_transgradient_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-mdpi/ic_launcher_transgradient_round.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_gradient.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_gradient_foreground.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_gradient_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_trans.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_trans_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_trans_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_transgradient.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_transgradient_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xhdpi/ic_launcher_transgradient_round.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_gradient.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_gradient_foreground.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_gradient_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_trans.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_trans_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_trans_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_transgradient.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_transgradient_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxhdpi/ic_launcher_transgradient_round.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_gradient.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_gradient_foreground.png
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_gradient_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_trans.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_trans_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_trans_round.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_transgradient.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_transgradient_foreground.png
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../../icons/android/mipmap-xxxhdpi/ic_launcher_transgradient_round.png
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<foreground android:drawable="@mipmap/ic_launcher_trans_foreground"/>
|
||||
<background>
|
||||
<color android:color="#5BCEFA"/>
|
||||
</background>
|
||||
</adaptive-icon>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<foreground android:drawable="@mipmap/ic_launcher_gradient_foreground"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_transgradient_foreground"/>
|
||||
<background>
|
||||
<color android:color="#1A1C28"/>
|
||||
</background>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 15 KiB |