Skip to content

Commit

Permalink
run dart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Jan 22, 2025
1 parent dc4a05f commit 5480867
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/bean/card/network_img_layer.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:ui';

import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:kazumi/utils/constants.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/pages/video/video_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:hive/hive.dart';
import 'package:kazumi/utils/storage.dart';
import 'package:kazumi/utils/utils.dart';
import 'package:flutter/services.dart';
import 'package:kazumi/bean/appbar/drag_to_move_bar.dart' as dtb;
import 'package:kazumi/bean/dialog/dialog_helper.dart';
import 'package:scrollview_observer/scrollview_observer.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/request/bangumi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class BangumiHTTP {
static Future<CharacterResponse> getCharatersByID(int id) async {
CharacterResponse characterResponse = CharacterResponse.fromTemplate();
try {
final res = await Request().get(Api.bangumiInfoByID + id.toString() + '/characters',
final res = await Request().get('${Api.bangumiInfoByID}$id/characters',
options: Options(headers: bangumiHTTPHeader));
final jsonData = res.data;
characterResponse = CharacterResponse.fromJson(jsonData);
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ packages:
source: hosted
version: "2.0.1"
html:
dependency: transitive
dependency: "direct main"
description:
name: html
sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec"
Expand Down Expand Up @@ -692,7 +692,7 @@ packages:
source: hosted
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
dependency: "direct main"
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
Expand Down Expand Up @@ -876,7 +876,7 @@ packages:
source: hosted
version: "3.0.2"
path:
dependency: transitive
dependency: "direct main"
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
Expand Down Expand Up @@ -1044,7 +1044,7 @@ packages:
source: hosted
version: "2.1.1"
screen_brightness_platform_interface:
dependency: transitive
dependency: "direct main"
description:
name: screen_brightness_platform_interface
sha256: "737bd47b57746bc4291cab1b8a5843ee881af499514881b0247ec77447ee769c"
Expand Down
5 changes: 5 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ dependencies:
ref: main
path: ./libs/universal/media_kit_libs_video

html: any
material_color_utilities: any
path: any
screen_brightness_platform_interface: any

dependency_overrides:
media_kit:
git:
Expand Down

0 comments on commit 5480867

Please sign in to comment.