Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.12.2' propVersionName = '3.12.3' kotlin_version = '1.2.21' support_libs = '27.0.2' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt +12 −4 Original line number Diff line number Diff line Loading @@ -141,8 +141,12 @@ fun Activity.sharePathIntent(path: String, applicationId: String) { } else { toast(R.string.no_app_found) } } catch (e: TransactionTooLargeException) { } catch (e: RuntimeException) { if (e.cause is TransactionTooLargeException) { toast(R.string.maximum_share_reached) } else { showErrorToast(e) } } } }.start() Loading Loading @@ -177,8 +181,12 @@ fun Activity.sharePathsIntent(paths: ArrayList<String>, applicationId: String) { } else { toast(R.string.no_app_found) } } catch (e: TransactionTooLargeException) { } catch (e: RuntimeException) { if (e.cause is TransactionTooLargeException) { toast(R.string.maximum_share_reached) } else { showErrorToast(e) } } } } Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.12.2' propVersionName = '3.12.3' kotlin_version = '1.2.21' support_libs = '27.0.2' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Activity.kt +12 −4 Original line number Diff line number Diff line Loading @@ -141,8 +141,12 @@ fun Activity.sharePathIntent(path: String, applicationId: String) { } else { toast(R.string.no_app_found) } } catch (e: TransactionTooLargeException) { } catch (e: RuntimeException) { if (e.cause is TransactionTooLargeException) { toast(R.string.maximum_share_reached) } else { showErrorToast(e) } } } }.start() Loading Loading @@ -177,8 +181,12 @@ fun Activity.sharePathsIntent(paths: ArrayList<String>, applicationId: String) { } else { toast(R.string.no_app_found) } } catch (e: TransactionTooLargeException) { } catch (e: RuntimeException) { if (e.cause is TransactionTooLargeException) { toast(R.string.maximum_share_reached) } else { showErrorToast(e) } } } } Loading