Skip to content

Commit

Permalink
events: show missed call fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Jun 17, 2023
1 parent 7520770 commit ad6504f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions app/src/main/kotlin/d/d/meshenger/EventListFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class EventListFragment : Fragment() {
val activity = requireActivity() as MainActivity
activity.binder?. let {
it.getEvents().eventsMissed = 0
it.updateNotification();
}

MainService.refreshEvents(requireActivity())
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/kotlin/d/d/meshenger/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ class MainActivity : BaseActivity(), ServiceConnection {

MainService.refreshEvents(this)
MainService.refreshContacts(this)

// show notification message
binder!!.updateNotification()
}

override fun onServiceDisconnected(componentName: ComponentName) {
Expand Down

0 comments on commit ad6504f

Please sign in to comment.