Prevent toCompat crash
This commit is contained in:
@@ -202,6 +202,10 @@ class TetheringFragment : Fragment(), ServiceConnection, Toolbar.OnMenuItemClick
|
|||||||
SmartSnackbar.make(eRoot).show()
|
SmartSnackbar.make(eRoot).show()
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
} catch (e: IllegalArgumentException) {
|
||||||
|
Timber.w(e)
|
||||||
|
SmartSnackbar.make(e).show()
|
||||||
|
null
|
||||||
}?.let { configuration ->
|
}?.let { configuration ->
|
||||||
WifiApDialogFragment().apply {
|
WifiApDialogFragment().apply {
|
||||||
arg(WifiApDialogFragment.Arg(configuration))
|
arg(WifiApDialogFragment.Arg(configuration))
|
||||||
|
|||||||
Reference in New Issue
Block a user