Prevent invalid paste crashing app

This commit is contained in:
Mygod
2021-07-10 19:19:17 -04:00
parent 3f18c7f47d
commit 91afda8fdf

View File

@@ -317,7 +317,7 @@ class WifiApDialogFragment : AlertDialogFragment<WifiApDialogFragment.Arg, WifiA
}
}
true
} catch (e: IllegalArgumentException) {
} catch (e: RuntimeException) {
SmartSnackbar.make(e).show()
false
}