diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c0e7148..07aeac4 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -11,9 +11,10 @@ android:allowBackup="false" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="false" - android:icon="@drawable/ic_launcher" + android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" + android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" android:theme="@style/Theme.WhoNeedHelp" android:usesCleartextTraffic="${usesCleartextTraffic}"> diff --git a/android/app/src/main/java/org/whoneedhelp/mobile/TrackingService.java b/android/app/src/main/java/org/whoneedhelp/mobile/TrackingService.java index df90ae9..d4448c8 100644 --- a/android/app/src/main/java/org/whoneedhelp/mobile/TrackingService.java +++ b/android/app/src/main/java/org/whoneedhelp/mobile/TrackingService.java @@ -209,7 +209,7 @@ public final class TrackingService extends Service implements LocationListener { PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE ); Notification.Action stopAction = new Notification.Action.Builder( - Icon.createWithResource(this, R.drawable.ic_launcher), + Icon.createWithResource(this, R.drawable.ic_notification), getString(R.string.tracking_stop_action), stopPendingIntent ).build(); @@ -220,7 +220,7 @@ public final class TrackingService extends Service implements LocationListener { : new Notification.Builder(this); return builder - .setSmallIcon(R.drawable.ic_launcher) + .setSmallIcon(R.drawable.ic_notification) .setContentTitle(title) .setContentText(text) .setContentIntent(openPendingIntent) diff --git a/android/app/src/main/res/drawable/ic_launcher.xml b/android/app/src/main/res/drawable/ic_launcher.xml deleted file mode 100644 index 2eacf1b..0000000 --- a/android/app/src/main/res/drawable/ic_launcher.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - diff --git a/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/android/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..7059cae --- /dev/null +++ b/android/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/android/app/src/main/res/drawable/ic_launcher_monochrome.xml b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml new file mode 100644 index 0000000..0cf6a23 --- /dev/null +++ b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/android/app/src/main/res/drawable/ic_notification.xml b/android/app/src/main/res/drawable/ic_notification.xml new file mode 100644 index 0000000..d06e595 --- /dev/null +++ b/android/app/src/main/res/drawable/ic_notification.xml @@ -0,0 +1,11 @@ + + + + diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..a8a8fa5 --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml new file mode 100644 index 0000000..c78bee3 --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..fac8c4b Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..675b20d Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..09a234f Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..40d7e93 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..8a590c5 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/values/icon_colors.xml b/android/app/src/main/res/values/icon_colors.xml new file mode 100644 index 0000000..7a26794 --- /dev/null +++ b/android/app/src/main/res/values/icon_colors.xml @@ -0,0 +1,4 @@ + + + #F7F7F5 + diff --git a/android/store-assets/icon-512.png b/android/store-assets/icon-512.png new file mode 100644 index 0000000..37748c1 Binary files /dev/null and b/android/store-assets/icon-512.png differ diff --git a/lib/who_need_help_web/components/layouts.ex b/lib/who_need_help_web/components/layouts.ex index 63436ae..15d3397 100644 --- a/lib/who_need_help_web/components/layouts.ex +++ b/lib/who_need_help_web/components/layouts.ex @@ -42,9 +42,13 @@ defmodule WhoNeedHelpWeb.Layouts do class="flex min-w-0 items-center gap-3" aria-label={gettext("Who Need Help home")} > - - + - + Who Need Help diff --git a/lib/who_need_help_web/components/layouts/root.html.heex b/lib/who_need_help_web/components/layouts/root.html.heex index e40bd2a..16b8a47 100644 --- a/lib/who_need_help_web/components/layouts/root.html.heex +++ b/lib/who_need_help_web/components/layouts/root.html.heex @@ -9,9 +9,12 @@ + <.live_title default="Who Need Help" suffix=" ยท Who Need Help" phx-no-format>{assigns[:page_title]} - + + + diff --git a/priv/static/favicon.ico b/priv/static/favicon.ico index 7f372bf..4fc13b0 100644 Binary files a/priv/static/favicon.ico and b/priv/static/favicon.ico differ diff --git a/priv/static/images/app-icon-1024.png b/priv/static/images/app-icon-1024.png new file mode 100644 index 0000000..c418d4e Binary files /dev/null and b/priv/static/images/app-icon-1024.png differ diff --git a/priv/static/images/apple-touch-icon.png b/priv/static/images/apple-touch-icon.png new file mode 100644 index 0000000..39db815 Binary files /dev/null and b/priv/static/images/apple-touch-icon.png differ diff --git a/priv/static/images/favicon-48.png b/priv/static/images/favicon-48.png new file mode 100644 index 0000000..209bffe Binary files /dev/null and b/priv/static/images/favicon-48.png differ diff --git a/priv/static/images/logo-monochrome.svg b/priv/static/images/logo-monochrome.svg new file mode 100644 index 0000000..1bf9d33 --- /dev/null +++ b/priv/static/images/logo-monochrome.svg @@ -0,0 +1,12 @@ + + Who Need Help + + + diff --git a/priv/static/images/logo.svg b/priv/static/images/logo.svg index 9f26bab..431e3af 100644 --- a/priv/static/images/logo.svg +++ b/priv/static/images/logo.svg @@ -1,6 +1,21 @@ -