Skip to content

Commit

Permalink
Compile SDK to 34
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Nov 21, 2023
1 parent 9e652e8 commit f2c3228
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34
defaultConfig {
applicationId = "com.ncorti.slidetoact.example"
minSdk = 14
Expand Down
2 changes: 1 addition & 1 deletion slidetoact/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.12.0".plus(if (hasProperty("USE_SNAPSHOT")) "-SNAPSHOT" else "")
group = "com.ncorti"

android {
compileSdk = 33
compileSdk = 34
namespace = "com.ncorti.slidetoact"

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,8 @@ class SlideToActView @JvmOverloads constructor(
setCompletedNotAnimated(mIsCompleted)
}

override fun onDraw(canvas: Canvas?) {
override fun onDraw(canvas: Canvas) {
super.onDraw(canvas)
if (canvas == null) return

// Outer area
mOuterRect.set(
Expand Down

0 comments on commit f2c3228

Please sign in to comment.