Prevent invalid paste crashing app
This commit is contained in:
@@ -317,7 +317,7 @@ class WifiApDialogFragment : AlertDialogFragment<WifiApDialogFragment.Arg, WifiA
|
||||
}
|
||||
}
|
||||
true
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (e: RuntimeException) {
|
||||
SmartSnackbar.make(e).show()
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user