mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Show CrashScreen instead of quit when crash on Android (#8263)
This commit is contained in:
@ -62,11 +62,6 @@ Sources for Info about current orientation in case need:
|
||||
*/
|
||||
override fun shouldPreferExternalStorage(): Boolean = true
|
||||
|
||||
override fun handleUncaughtThrowable(ex: Throwable): Boolean {
|
||||
thread { throw ex } // this will kill the app but report the exception to the Google Play Console if the user allows it
|
||||
return true
|
||||
}
|
||||
|
||||
override fun addImprovements(textField: TextField): TextField {
|
||||
return TextfieldImprovements.add(textField)
|
||||
}
|
||||
|
Reference in New Issue
Block a user