ui: import AnimatedSwipeDismiss code from Brandon McAnsh

Source: https://gist.github.com/bmc08gt/fca95db3bf9fcf255d76f03ec10ea3f9
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-19 05:35:46 +05:30
parent c8d2de60bb
commit 3201bfe507
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 107 additions and 1 deletions

View file

@ -29,7 +29,7 @@ android {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"]
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check", "-Xopt-in=kotlin.RequiresOptIn"]
}
}