From Juan Cruz Orioli to ~emersion/goguma-dev
On Wed, 2023-01-04 at 18:26 +0000, Simon Ser wrote: > Maybe a better approach is to start with the launcher icon and then > make it monochrome? I tried this originally, but Android would merge both path elements into one singular colour, effectively making the pound sign icon invisible. I imported the path data from the monochrome icon into a SVG editor and it seems to be fine[1]. I searched but couldn't find another way to accomplish this with the launcher icon. Let me know if you have any pointers and I'll be happy to send another patch.
From Juan Cruz Orioli to ~emersion/public-inbox
Closes: https://todo.sr.ht/~emersion/gamja/128 --- I replaced all uses of `onChange` with `onInput` in <form>s and renamed the functions named `handleChange` to `handleInput`. components/auth-form.js | 6 +++--- components/connect-form.js | 6 +++--- components/join-form.js | 6 +++--- components/network-form.js | 6 +++--- components/register-form.js | 6 +++--- components/settings-form.js | 6 +++--- components/verify-form.js | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) [message trimmed]
From Juan Cruz Orioli to ~emersion/public-inbox
Closes: https://todo.sr.ht/~emersion/gamja/128 --- On Preact, onChange is not wired to the 'input' event, unlike React, which I believe is necessary to prevent the text input value from being lost during a re-render. Let me know if you would rather have all uses of onChange revised instead. components/join-form.js | 6 +++--- components/network-form.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/join-form.js b/components/join-form.js index 4d16f38..3676891 100644 --- a/components/join-form.js [message trimmed]
From Juan Cruz Orioli to ~emersion/goguma-dev
--- I copied ic_launcher_foreground.xml and replaced the pathData value with the one from ic_stat_name.xml. .../res/drawable/ic_launcher_monochrome.xml | 18 ++++++++++++++++++ .../main/res/mipmap-anydpi-v26/ic_launcher.xml | 1 + 2 files changed, 19 insertions(+) create mode 100644 android/app/src/main/res/drawable/ic_launcher_monochrome.xml 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..d79635b --- /dev/null +++ b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml [message trimmed]