Skip to content

Commit

Permalink
Fix android pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Dec 3, 2024
1 parent b2c90df commit 16d160d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 17.0.6
cache: 'gradle'

Expand Down Expand Up @@ -75,6 +76,7 @@ jobs:
- name: set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 17.0.6
cache: 'gradle'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 17.0.6
cache: 'gradle'

Expand Down
2 changes: 0 additions & 2 deletions lib/ui/widget/date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Future<DateTime?> pickDate(
{required BuildContext context, required DateTime initialDate}) async {
DateTime? pickDate = await showDatePicker(
context: context,
barrierColor: context.colorScheme.surface,
initialDate: initialDate,
firstDate: DateTime(1990),
lastDate: DateTime(DateTime.now().futureDateSelectionYear),
Expand All @@ -19,7 +18,6 @@ Future<TimeOfDay?> pickTime(
TimeOfDay? time = await showTimePicker(
context: context,
initialTime: initialTime,
barrierColor: context.colorScheme.surface,
);
return time;
}

0 comments on commit 16d160d

Please sign in to comment.