1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-04 17:25:30 +01:00

Android: Use the correct value for notification (#14209)

The notification channel creation is moved into MainActivity.
The notification channel ID string is stored into a static variable.
The name and description of the notification channel are stored into the strings resource file.

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Muhammad Rifqi Priyo Susanto
2024-01-14 02:01:35 +07:00
committed by GitHub
parent b12be0498e
commit 5089e8342f
3 changed files with 45 additions and 23 deletions

View File

@@ -2,7 +2,9 @@
<resources>
<string name="label">Minetest</string>
<string name="loading">Loading&#8230;</string>
<string name="notification_title">Loading Minetest</string>
<string name="notification_description">Less than 1 minute&#8230;</string>
<string name="notification_channel_name">General notification</string>
<string name="notification_channel_description">Notifications from Minetest</string>
<string name="unzip_notification_title">Loading Minetest</string>
<string name="unzip_notification_description">Less than 1 minute&#8230;</string>
<string name="ime_dialog_done">Done</string>
</resources>