Add OG icon
@@ -85,10 +85,21 @@
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
<activity-alias
|
||||
android:name="${applicationId}.IconGreen"
|
||||
android:icon="@mipmap/icon_green"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:targetActivity=".MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
<activity-alias
|
||||
android:name="${applicationId}.IconLight"
|
||||
android:icon="@mipmap/icon_light"
|
||||
android:enabled="true"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:targetActivity=".MainActivity">
|
||||
<intent-filter>
|
||||
@@ -108,8 +119,8 @@
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
<activity-alias
|
||||
android:name="${applicationId}.IconGreen"
|
||||
android:icon="@mipmap/icon_green"
|
||||
android:name="${applicationId}.IconOG"
|
||||
android:icon="@mipmap/icon_og"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:targetActivity=".MainActivity">
|
||||
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background_light"/>
|
||||
<foreground android:drawable="@drawable/ic_og_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
mobile/android/app/src/main/res/mipmap-hdpi/icon_og.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
mobile/android/app/src/main/res/mipmap-mdpi/icon_og.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
mobile/android/app/src/main/res/mipmap-xhdpi/icon_og.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
mobile/android/app/src/main/res/mipmap-xxhdpi/icon_og.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
mobile/android/app/src/main/res/mipmap-xxxhdpi/icon_og.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
BIN
mobile/assets/launcher_icon/icon-og.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
@@ -716,7 +716,7 @@
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES[sdk=*]" = "IconGreen IconLight IconDark";
|
||||
"ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES[sdk=*]" = "IconGreen IconLight IconDark IconOG";
|
||||
"ASSETCATALOG_COMPILER_APPICON_NAME[sdk=*]" = IconGreen;
|
||||
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{"images":[{"size":"20x20","idiom":"iphone","filename":"IconOG-20x20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"IconOG-20x20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"IconOG-40x40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"IconOG-40x40@3x.png","scale":"3x"},{"size":"50x50","idiom":"ipad","filename":"IconOG-50x50@1x.png","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"IconOG-50x50@2x.png","scale":"2x"},{"size":"57x57","idiom":"iphone","filename":"IconOG-57x57@1x.png","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"IconOG-57x57@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconOG-60x60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconOG-60x60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"IconOG-20x20@1x.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"IconOG-20x20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"IconOG-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"IconOG-29x29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"IconOG-40x40@1x.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"IconOG-40x40@2x.png","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"IconOG-72x72@1x.png","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"IconOG-72x72@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"IconOG-76x76@1x.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"IconOG-76x76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"IconOG-83.5x83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"IconOG-1024x1024@1x.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}}
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 549 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
@@ -11,7 +11,8 @@ import "package:photos/ui/components/title_bar_widget.dart";
|
||||
enum AppIcon {
|
||||
iconGreen("Default", "IconGreen", "assets/launcher_icon/icon-green.png"),
|
||||
iconLight("Light", "IconLight", "assets/launcher_icon/icon-light.png"),
|
||||
iconDark("Dark", "IconDark", "assets/launcher_icon/icon-dark.png");
|
||||
iconDark("Dark", "IconDark", "assets/launcher_icon/icon-dark.png"),
|
||||
iconOG("OG", "IconOG", "assets/launcher_icon/icon-og.png");
|
||||
|
||||
final String name;
|
||||
final String id;
|
||||
|
||||