|
|
@ -238,11 +238,14 @@ class EditCollectionFragment : Fragment() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (e: EtebaseException) {
|
|
|
|
} catch (e: EtebaseException) {
|
|
|
|
uiThread {
|
|
|
|
uiThread {
|
|
|
|
AlertDialog.Builder(requireContext())
|
|
|
|
val context = context
|
|
|
|
.setIcon(R.drawable.ic_info_dark)
|
|
|
|
if (context != null) {
|
|
|
|
.setTitle(R.string.exception)
|
|
|
|
AlertDialog.Builder(requireContext())
|
|
|
|
.setMessage(e.localizedMessage)
|
|
|
|
.setIcon(R.drawable.ic_info_dark)
|
|
|
|
.setPositiveButton(android.R.string.yes) { _, _ -> }.show()
|
|
|
|
.setTitle(R.string.exception)
|
|
|
|
|
|
|
|
.setMessage(e.localizedMessage)
|
|
|
|
|
|
|
|
.setPositiveButton(android.R.string.yes) { _, _ -> }.show()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|
uiThread {
|
|
|
|
uiThread {
|
|
|
|