fix codestyle

This commit is contained in:
Felix 2022-05-13 21:02:24 +02:00
parent c9fce1efa3
commit 540a979d8c
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class EventsActivity : androidx.fragment.app.FragmentActivity() {
public override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val conf = intent.getParcelableExtra<Conference>(CONFERENCE)
if( conf != null ){
if (conf != null) {
conference = conf
} else {
finish()

View file

@ -76,7 +76,7 @@ class ChannelManager(
return events.filterNot { activeOrDismissedRecommendations.contains(it.guid) }.map {
publishEvent(channelId, it, contentResolver).apply {
val sec = this.second
if( sec != null ){
if (sec != null) {
mediaRepository.setRecommendationIdForEvent(this.first, sec, channel.name)
}
}