mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Remove never-matched if
This commit is contained in:
parent
42c580c249
commit
e2646c3243
1 changed files with 0 additions and 4 deletions
|
@ -146,10 +146,6 @@ class UnifiedPushHelper @Inject constructor(
|
|||
.setTitle(stringProvider.getString(R.string.unifiedpush_getdistributors_dialog_title))
|
||||
.setItems(distributorsName.toTypedArray()) { _, which ->
|
||||
val distributor = distributors[which]
|
||||
if (distributor == UnifiedPush.getDistributor(context)) {
|
||||
Timber.d("Same distributor selected again, no action")
|
||||
return@setItems
|
||||
}
|
||||
|
||||
activity.lifecycleScope.launch {
|
||||
UnifiedPush.saveDistributor(context, distributor)
|
||||
|
|
Loading…
Reference in a new issue