Small code improvements

Removed some non-translatable strings and just hardcoded them in the code, like it's being done for other string separators. This also deduplicates some code by using Localization.
Used some Kotlin feature to reduce code.
This commit is contained in:
Stypox 2022-02-23 19:45:49 +01:00
parent a4f3b3b105
commit 2a4add2571
6 changed files with 18 additions and 32 deletions

View file

@ -721,7 +721,5 @@
<string name="get_notified">Get notified</string>
<string name="you_successfully_subscribed">You now subscribed to this channel</string>
<string name="enumeration_comma">,</string>
<string name="notification_title_pattern" translatable="false">%s • %s</string>
<string name="streams_notifications_channels_summary" translatable="false">%d/%d</string>
<string name="toggle_all">Toggle all</string>
</resources>