No need to have a mutable list here.

This commit is contained in:
Benoit Marty 2022-06-02 12:36:05 +02:00 committed by Benoit Marty
parent 18b49068c1
commit 110c17e57d

View File

@ -94,7 +94,7 @@ class UnifiedPushHelper @Inject constructor(
// By default, use internal solution (fcm/background sync) // By default, use internal solution (fcm/background sync)
up.saveDistributor(context, context.packageName) up.saveDistributor(context, context.packageName)
val distributors = up.getDistributors(context).toMutableList() val distributors = up.getDistributors(context)
val internalDistributorName = stringProvider.getString( val internalDistributorName = stringProvider.getString(
if (FcmHelper.isPushSupported()) { if (FcmHelper.isPushSupported()) {