Skip to content

Commit

Permalink
🔖 v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iota9star committed Aug 20, 2023
1 parent abbdac0 commit 8f5b284
Show file tree
Hide file tree
Showing 74 changed files with 490 additions and 633 deletions.
57 changes: 17 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,56 +20,33 @@

**如果本项目对你有所帮助的话,可以 `star` 支持一下,谢谢**

## Screenshot
## Screenshot

<table>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-42-48-34_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-42-54-09_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-42-58-40_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-04-99_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/IMG_0348.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0349.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0350.PNG"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-11-83_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-18-67_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-30-02_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-45-87_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/IMG_0352.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0353.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0354.PNG"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-43-54-88_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-44-11-25_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-44-19-63_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-44-27-87_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/IMG_0355.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0356.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0358.PNG"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-44-32-25_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-44-44-69_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-45-02-78_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-45-11-72_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/IMG_0359.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0360.PNG"></td>
<td><img alt="" src="static/screenshot/IMG_0361.PNG"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-45-59-43_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-02-94_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-17-06_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-37-02_8b62dbcb4bfbe8a.jpg"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-41-07_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-51-79_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-46-58-65_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-47-16-28_8b62dbcb4bfbe8a.jpg"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-47-36-70_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-47-41-34_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-47-51-35_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-47-57-52_8b62dbcb4bfbe8a.jpg"></td>
<tr>
<tr>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-49-35-08_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-14-49-41-09_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-15-15-41-62_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/Screenshot_2022-09-14-15-15-45-41_8b62dbcb4bfbe8a.jpg"></td>
<td><img alt="" src="static/screenshot/img.png"></td>
<td><img alt="" src="static/screenshot/img_1.png"></td>
<td><img alt="" src="static/screenshot/img_2.png"></td>
<tr>
</table>

Expand Down Expand Up @@ -99,4 +76,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
```
2 changes: 1 addition & 1 deletion lib/internal/extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ extension NullableStringExt on String? {
}
Future doOtherAction() async {
if (await canLaunchUrlString(this!)) {
await launchUrlString(this!);
await launchUrlString(this!, mode: LaunchMode.externalApplication);
} else {
'未找到可打开应用'.toast();
}
Expand Down
24 changes: 10 additions & 14 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,33 +100,29 @@ class MikanApp extends StatefulWidget {
class _MikanAppState extends State<MikanApp> {
StreamSubscription<ConnectivityResult>? _subscription;

void _subscribeConnectivityChange() {
@override
void initState() {
super.initState();
_subscription = Connectivity().onConnectivityChanged.listen((result) {
switch (result) {
case ConnectivityResult.wifi:
'您正在使用 WiFi网络'.toast();
'正在使用 WiFi网络'.toast();
case ConnectivityResult.mobile:
'您正在使用 移动网络'.toast();
'正在使用 移动网络'.toast();
case ConnectivityResult.none:
'您已断开 网络'.toast();
'网络已断开'.toast();
case ConnectivityResult.ethernet:
'您正在使用 以太网'.toast();
'正在使用 以太网'.toast();
case ConnectivityResult.bluetooth:
'您正在使用 蓝牙网络'.toast();
'正在使用 蓝牙网络'.toast();
case ConnectivityResult.vpn:
'您正在使用 VPN'.toast();
'正在使用 VPN'.toast();
case ConnectivityResult.other:
'您正在使用 未知网络'.toast();
'正在使用 未知网络'.toast();
}
});
}

@override
void initState() {
super.initState();
_subscribeConnectivityChange();
}

@override
void dispose() {
_subscription?.cancel();
Expand Down
1 change: 1 addition & 0 deletions lib/providers/bangumi_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class BangumiModel extends BaseModel {
_bangumiDetail!.subscribed,
);
if (resp.success) {
notifyListeners();
await load();
} else {
return resp.msg.toast();
Expand Down
Loading

0 comments on commit 8f5b284

Please sign in to comment.