|
@@ -100,11 +100,10 @@ class _NetStatusWidgetState extends State<_NetStatusWidget> {
|
|
|
if (!_isServerConnectable) {
|
|
|
return Icon(Icons.wifi_off_outlined, size: 36, color: Colors.red);
|
|
|
}
|
|
|
- if (netChecker.status == ConnectivityResult.wifi) {
|
|
|
- return Icon(Icons.wifi, size: 36, color: Colors.green);
|
|
|
- } else if (netChecker.status == ConnectivityResult.mobile) {
|
|
|
+ if (netChecker.status == ConnectivityResult.mobile) {
|
|
|
return _NetworkIcon4G();
|
|
|
}
|
|
|
+ return Icon(Icons.wifi, size: 36, color: Colors.green);
|
|
|
}
|
|
|
|
|
|
if (_waitTimer == null) {
|