diff --git a/app/src/main/java/com/forrestguice/suntimeswidget/calendar/SuntimesCalendarTask.java b/app/src/main/java/com/forrestguice/suntimeswidget/calendar/SuntimesCalendarTask.java index 232bdbee..0b26d2d7 100644 --- a/app/src/main/java/com/forrestguice/suntimeswidget/calendar/SuntimesCalendarTask.java +++ b/app/src/main/java/com/forrestguice/suntimeswidget/calendar/SuntimesCalendarTask.java @@ -941,7 +941,7 @@ private boolean initMoonApsisCalendar(@NonNull CalendarTaskProgress progress0, @ cursor.moveToFirst(); while (!cursor.isAfterLast() && !isCancelled()) { - if (cursor.getColumnCount() <= 2 || cursor.getLong(0) <= 0) + if (cursor.getColumnCount() < 2 || cursor.getLong(0) <= 0) { // sanity check.. moonApsis needs provider v2:0.3.0 (Suntimes v0.12.0+)) cursor.close(); progress.setProgress(totalProgress, totalProgress, calendarTitle);