mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19846: Update default browser notification strings
This commit is contained in:
parent
9fdd99943e
commit
38cce79e1c
@ -58,6 +58,8 @@ class DefaultBrowserNotificationWorker(
|
|||||||
return NotificationCompat.Builder(this, channelId)
|
return NotificationCompat.Builder(this, channelId)
|
||||||
.setSmallIcon(R.drawable.ic_status_logo)
|
.setSmallIcon(R.drawable.ic_status_logo)
|
||||||
.setContentTitle(
|
.setContentTitle(
|
||||||
|
applicationContext.getString(R.string.notification_default_browser_title, appName))
|
||||||
|
.setContentText(
|
||||||
applicationContext.getString(R.string.notification_default_browser_text, appName))
|
applicationContext.getString(R.string.notification_default_browser_text, appName))
|
||||||
.setBadgeIconType(NotificationCompat.BADGE_ICON_SMALL)
|
.setBadgeIconType(NotificationCompat.BADGE_ICON_SMALL)
|
||||||
.setColor(ContextCompat.getColor(this, R.color.primary_text_light_theme))
|
.setColor(ContextCompat.getColor(this, R.color.primary_text_light_theme))
|
||||||
|
@ -1024,7 +1024,11 @@
|
|||||||
<string name="notification_powered_by_channel_name">Powered By</string>
|
<string name="notification_powered_by_channel_name">Powered By</string>
|
||||||
<!-- Name of the marketing notification channel. Displayed in the "App notifications" system settings for the app -->
|
<!-- Name of the marketing notification channel. Displayed in the "App notifications" system settings for the app -->
|
||||||
<string name="notification_marketing_channel_name">Marketing</string>
|
<string name="notification_marketing_channel_name">Marketing</string>
|
||||||
<!-- Text shown in the notification that pops up to remind the user to set fenix as default browser. -->
|
<!-- Title shown in the notification that pops up to remind the user to set fenix as default browser.
|
||||||
|
%1$s is a placeholder that will be replaced by the app name (Fenix). -->
|
||||||
|
<string name="notification_default_browser_title">%1$s is fast and private</string>
|
||||||
|
<!-- Text shown in the notification that pops up to remind the user to set fenix as default browser.
|
||||||
|
%1$s is a placeholder that will be replaced by the app name (Fenix). -->
|
||||||
<string name="notification_default_browser_text">Make %1$s your default browser</string>
|
<string name="notification_default_browser_text">Make %1$s your default browser</string>
|
||||||
|
|
||||||
<!-- Snackbar -->
|
<!-- Snackbar -->
|
||||||
|
Loading…
Reference in New Issue
Block a user