mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fixing code style issues
This commit is contained in:
parent
46ccf4d73f
commit
2a8c72bdcf
3 changed files with 4 additions and 3 deletions
|
@ -688,5 +688,7 @@ interface MavericksViewModelModule {
|
|||
@Binds
|
||||
@IntoMap
|
||||
@MavericksViewModelKey(VectorSettingsNotificationPreferenceViewModel::class)
|
||||
fun vectorSettingsNotificationPreferenceViewModelFactory(factory: VectorSettingsNotificationPreferenceViewModel.Factory): MavericksAssistedViewModelFactory<*, *>
|
||||
fun vectorSettingsNotificationPreferenceViewModelFactory(
|
||||
factory: VectorSettingsNotificationPreferenceViewModel.Factory
|
||||
): MavericksAssistedViewModelFactory<*, *>
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
package im.vector.app.core.pushers
|
||||
|
||||
import android.app.Activity
|
||||
import im.vector.app.core.di.ActiveSessionHolder
|
||||
|
||||
interface FcmHelper {
|
||||
|
|
|
@ -128,7 +128,7 @@ class HomeActivityViewModel @AssistedInject constructor(
|
|||
}
|
||||
|
||||
private fun registerUnifiedPushIfNeeded() {
|
||||
if(vectorPreferences.areNotificationEnabledForDevice()) {
|
||||
if (vectorPreferences.areNotificationEnabledForDevice()) {
|
||||
registerUnifiedPush(distributor = "")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue