Fix possible crash
This commit is contained in:
1 parent
c2f2b977a2
commit
75ed407a25
1 file changed
+2
@@ -120,10 +120,12 @@ class DashboardFragment : Fragment(R.layout.fragment_dashboard) {
|
||||
}
|
||||
}
|
||||
}.onFailure {
|
||||
withContext(Dispatchers.Main) {
|
||||
activity?.errorDialogBuilder(it)?.show()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun loopShowDeprecatedNotes(notes: DeprecatedNoteIterator) {
|
||||
if (notes.hasNext()) {
|
||||
|
||||
Reference in new issue
Block a user