feat: add distinctive bell icon for when post notifications are enabled

cc: @sk22
I will cc you a lot from now on, as I have realized Mega has a few design rough edges I feel personally obligated to give back the fix to. Primarily wrong coloring on a few text views here and there.

For putting colors onto things, I always a true black tone and the green visual option, because those options specifically make the mismatched colors a lot more apparent.
This commit is contained in:
LucasGGamerM 2023-06-15 21:21:58 -03:00
parent 08866e0bea
commit 5709389322
2 changed files with 12 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--~ Copyright (c) 2022. ~ Microsoft Corporation. All rights reserved.-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_fluent_alert_24_filled" android:state_activated="true"/>
<item android:drawable="@drawable/ic_fluent_alert_24_filled" android:state_checked="true"/>
<item android:drawable="@drawable/ic_fluent_alert_24_filled" android:state_selected="true"/>
<item android:drawable="@drawable/ic_fluent_alert_urgent_24_filled" android:state_activated="true"/>
<item android:drawable="@drawable/ic_fluent_alert_urgent_24_filled" android:state_checked="true"/>
<item android:drawable="@drawable/ic_fluent_alert_urgent_24_filled" android:state_selected="true"/>
<item android:drawable="@drawable/ic_fluent_alert_24_regular"/>
</selector>

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M10.429,19.924L13.991,18.412C14.124,19.292 13.653,20.185 12.796,20.549C11.939,20.913 10.969,20.632 10.429,19.924ZM15.861,2.094C17.947,3.233 19.513,4.697 20.543,6.481C21.573,8.265 22.058,10.353 22.001,12.729C21.992,13.143 21.648,13.471 21.234,13.461C20.82,13.451 20.492,13.108 20.502,12.694C20.552,10.582 20.13,8.766 19.244,7.231C18.358,5.696 16.995,4.423 15.142,3.41C14.779,3.212 14.645,2.756 14.844,2.392C15.042,2.029 15.498,1.895 15.861,2.094ZM6.711,6.515C9.573,5.241 12.916,6.446 14.311,9.261L14.409,9.47L15.697,12.362L17.395,13.832C17.488,13.912 17.568,14.006 17.661,14.157L17.72,14.271C17.999,14.902 17.714,15.641 17.083,15.92L6.756,20.49C6.597,20.561 6.424,20.597 6.25,20.597C5.56,20.597 5,20.038 5,19.347L4.999,17.005L3.757,14.213C2.443,11.263 3.766,7.827 6.711,6.515ZM15.624,5.695C16.591,6.222 17.366,6.989 17.94,7.984C18.514,8.979 18.791,10.033 18.764,11.134C18.754,11.549 18.41,11.876 17.996,11.866C17.582,11.856 17.255,11.512 17.265,11.098C17.285,10.276 17.079,9.493 16.641,8.734C16.203,7.975 15.627,7.405 14.906,7.012C14.542,6.813 14.408,6.358 14.606,5.994C14.804,5.63 15.26,5.496 15.624,5.695Z"
android:fillColor="#212121"/>
</vector>