Refactor name of getConversationsForWidget to getConversationsSnapshot

This commit is contained in:
Moez Bhatti
2018-03-27 18:27:12 -04:00
parent 005d5b761c
commit d9a3e17886
3 changed files with 3 additions and 3 deletions
@@ -73,7 +73,7 @@ class WidgetAdapter(intent: Intent) : RemoteViewsService.RemoteViewsFactory {
}
override fun onDataSetChanged() {
conversations = messageRepo.getConversationsForWidget()
conversations = messageRepo.getConversationsSnapshot()
val remoteViews = RemoteViews(context.packageName, R.layout.widget)
appWidgetManager.partiallyUpdateAppWidget(appWidgetId, remoteViews)