Skip to content

Commit

Permalink
fix: lint and formating
Browse files Browse the repository at this point in the history
  • Loading branch information
newtaDev committed Jul 8, 2023
1 parent 26907da commit 595e9eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Check format
run: flutter format --set-exit-if-changed .
run: dart format --set-exit-if-changed .

lint:
name: Check lints
Expand Down
3 changes: 1 addition & 2 deletions lib/src/utils/video_apis.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ class VideoApis {
Uri.parse('https://api.vimeo.com/videos/$videoId'),
headers: httpHeader,
);
final jsonData =
jsonDecode(response.body)['files'] as List<dynamic>;
final jsonData = jsonDecode(response.body)['files'] as List<dynamic>;

final List<VideoQalityUrls> list = [];
for (int i = 0; i < jsonData.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
very_good_analysis: ^5.0.0+1
very_good_analysis: ^4.0.0+1

screenshots:
- description: Pod video player logo
Expand Down

0 comments on commit 595e9eb

Please sign in to comment.