Fix remote name for local notification channel

This commit is contained in:
sim 2024-11-19 13:23:41 +00:00
parent 1bef3ee29e
commit b6606c1530

View File

@ -8,7 +8,7 @@ import org.unifiedpush.distributor.nextpush.utils.FromPushNotification
object LocalNotification {
fun createChannel(context: Context, title: String, block: () -> Unit) {
Api(context).apiCreateApp(context.getString(R.string.local_notif_title).format(title), null) { nextpushToken ->
Api(context).apiCreateApp(context.getString(R.string.list_registrations_local_title, title), null) { nextpushToken ->
nextpushToken?.let {
getDb(context).registerApp(context.packageName, UUID.randomUUID().toString(), it, title, null)
}