π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Fix android monochrome app icon (#5484)
Bl4ckspellae6e2b1349e1
diff --git a/auth/android/.gitignore b/auth/android/.gitignoreindex 6f568019d3..27f7aec949 100644--- a/auth/android/.gitignore+++ b/auth/android/.gitignore@@ -5,6 +5,8 @@ gradle-wrapper.jar/gradlew.bat/local.propertiesGeneratedPluginRegistrant.java+/app/.cxx/+/.kotlin/# Remember to never publicly share your keystore.# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-appdiff --git a/auth/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.png b/auth/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.pngnew file mode 100644index 0000000000..e7a02039d7Binary files /dev/null and b/auth/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.png differdiff --git a/auth/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.png b/auth/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.pngnew file mode 100644index 0000000000..163a39ab80Binary files /dev/null and b/auth/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.png differdiff --git a/auth/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.png b/auth/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.pngnew file mode 100644index 0000000000..accaf7e863Binary files /dev/null and b/auth/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.png differdiff --git a/auth/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.png b/auth/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.pngnew file mode 100644index 0000000000..acdcc6084aBinary files /dev/null and b/auth/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.png differdiff --git a/auth/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.png b/auth/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.pngnew file mode 100644index 0000000000..1372853943Binary files /dev/null and b/auth/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.png differdiff --git a/auth/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml b/auth/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xmlindex 28f41b3c4d..407dab1e31 100644--- a/auth/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml+++ b/auth/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml@@ -1,6 +1,14 @@<?xml version="1.0" encoding="utf-8"?><adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"><background android:drawable="@drawable/ic_launcher_background"/>- <foreground android:drawable="@drawable/ic_launcher_foreground"/>- <monochrome android:drawable="@drawable/ic_launcher_foreground"/>+ <foreground>+ <inset+ android:drawable="@drawable/ic_launcher_foreground"+ android:inset="0%" />+ </foreground>+ <monochrome>+ <inset+ android:drawable="@drawable/ic_launcher_monochrome"+ android:inset="0%" />+ </monochrome></adaptive-icon>diff --git a/auth/assets/generation-icons/icon-monochrome.png b/auth/assets/generation-icons/icon-monochrome.pngnew file mode 100644index 0000000000..83413a6580Binary files /dev/null and b/auth/assets/generation-icons/icon-monochrome.png differdiff --git a/auth/pubspec.yaml b/auth/pubspec.yamlindex 8e874214c9..02d1488bb4 100644--- a/auth/pubspec.yaml+++ b/auth/pubspec.yaml@@ -148,12 +148,17 @@ flutter:fonts:- asset: fonts/Montserrat-Bold.ttf-flutter_icons:+# run "dart run flutter_launcher_icons" to generate icons+flutter_launcher_icons:+ image_path: "assets/generation-icons/icon-light.png"+android: "launcher_icon"adaptive_icon_foreground: "assets/generation-icons/icon-light-adaptive-fg.png"adaptive_icon_background: "assets/generation-icons/icon-light-adaptive-bg.png"+ adaptive_icon_monochrome: "assets/generation-icons/icon-monochrome.png"+ adaptive_icon_foreground_inset: 0+ios: true- image_path: "assets/generation-icons/icon-light.png"remove_alpha_ios: trueflutter_native_splash: