Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f849801

Browse files
committedNov 26, 2024
Fix network detection issues
1 parent bef4ad6 commit f849801

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
 

‎.github/workflows/change.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: change
22

33
on:
44
push:
5-
branches:
6-
- 'main'
5+
tags:
6+
- 'v*'
77

88
jobs:
99
changelog:

‎lib/fragments/dashboard/network_detection.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class _NetworkDetectionState extends State<NetworkDetection> {
5555
);
5656
return;
5757
}
58-
_setTimeoutTimer = Timer(const Duration(milliseconds: 2000), () {
58+
_clearSetTimeoutTimer();
59+
_setTimeoutTimer = Timer(const Duration(milliseconds: 200), () {
5960
networkDetectionState.value = networkDetectionState.value.copyWith(
6061
isTesting: false,
6162
ipInfo: null,
@@ -156,7 +157,8 @@ class _NetworkDetectionState extends State<NetworkDetection> {
156157
.textTheme
157158
.titleLarge
158159
?.copyWith(
159-
fontFamily: FontFamily.twEmoji.value,
160+
fontFamily:
161+
FontFamily.twEmoji.value,
160162
),
161163
),
162164
)

0 commit comments

Comments
 (0)
Please sign in to comment.