Fix remote name for local notification channel
This commit is contained in:
parent
1bef3ee29e
commit
b6606c1530
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user