Skip to content

Commit

Permalink
[chore] targetSdkVersion 34로 버전업
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjinc committed Jul 14, 2024
1 parent d8039e8 commit 8ca17a1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 2 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

android {
compileSdkVersion 33
buildToolsVersion "30.0.3"

compileOptions {
coreLibraryDesugaringEnabled true

Expand All @@ -27,9 +24,10 @@ android {
defaultConfig {
applicationId "com.hyeeyoung.wishboard"
minSdkVersion 24
targetSdkVersion 33
targetSdkVersion 34
versionCode 38
versionName "1.2.5"
compileSdk 34

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<uses-feature
android:name="android.hardware.camera2"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />

<application
android:name=".WishBoardApp"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/java/com/hyeeyoung/wishboard/di/NetworkModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ object NetworkModule {
interceptor: AuthInterceptor,
): OkHttpClient =
OkHttpClient.Builder().apply {
connectTimeout(10, TimeUnit.SECONDS)
writeTimeout(10, TimeUnit.SECONDS)
readTimeout(10, TimeUnit.SECONDS)
connectTimeout(30, TimeUnit.SECONDS)
writeTimeout(30, TimeUnit.SECONDS)
readTimeout(30, TimeUnit.SECONDS)
addInterceptor(interceptor)
if (DEBUG) addInterceptor(
HttpLoggingInterceptor().apply {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ class DayItemView @JvmOverloads constructor(
}
}

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

val date = date.dayOfMonth.toString()
paint.getTextBounds(date, 0, date.length, bounds)
Expand Down

0 comments on commit 8ca17a1

Please sign in to comment.