mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-02 20:26:47 +01:00
Small cleanup
This commit is contained in:
parent
399e95a247
commit
ddf6a69a69
@ -144,8 +144,7 @@ class UnifiedPushHelper @Inject constructor(
|
||||
}
|
||||
)
|
||||
|
||||
if (distributors.size == 1 &&
|
||||
!force) {
|
||||
if (distributors.size == 1 && !force) {
|
||||
up.saveDistributor(context, distributors.first())
|
||||
up.registerApp(context)
|
||||
onDoneRunnable?.run()
|
||||
@ -160,7 +159,7 @@ class UnifiedPushHelper @Inject constructor(
|
||||
context.packageManager.getApplicationLabel(ai)
|
||||
} catch (e: PackageManager.NameNotFoundException) {
|
||||
it
|
||||
} as String
|
||||
}
|
||||
}
|
||||
}.toTypedArray()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user