Skip to content

Commit

Permalink
community: bump com.applandeo:material-calendar-view to 1.9.0 (fixes
Browse files Browse the repository at this point in the history
…#2666) (#2665)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gideon Okuro <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2023
1 parent cfedb9f commit d0ef366
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1128
versionName "0.11.28"
versionCode 1129
versionName "0.11.29"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -134,7 +134,7 @@ dependencies {
implementation "androidx.core:core-ktx:1.12.0"
implementation "com.github.VaibhavLakhera:Circular-Progress-View:0.1.2"
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'com.applandeo:material-calendar-view:1.7.0'
implementation 'com.applandeo:material-calendar-view:1.9.0'
implementation "androidx.work:work-runtime:2.8.1"
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.9.20"))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,8 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
});

Calendar calendar = Calendar.getInstance();
calendarBinding.calendarView.setDate(calendar.getTime());

try {
calendarBinding.calendarView.setDate(calendar.getTime());
} catch (OutOfDateRangeException e) {
e.printStackTrace();
}
return calendarBinding.getRoot();
}

Expand Down

0 comments on commit d0ef366

Please sign in to comment.