Skip to content

Commit 20a0f09

Browse files
fix udp tcp commands
1 parent dd7c1e1 commit 20a0f09

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/repositories/ccextractor.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ class CCExtractor {
8585
[
8686
'-' + type,
8787
location,
88-
tcppasswrd.isNotEmpty ? '-' + tcppasswrd : '',
89-
tcpdesc.isNotEmpty ? '-' + tcpdesc : '',
88+
tcppasswrd.isNotEmpty ? '-tcppasswrd' + tcppasswrd : '',
89+
tcpdesc.isNotEmpty ? '-tcpdesc' + tcpdesc : '',
9090
'--gui_mode_reports',
9191
...paramsList,
9292
],

lib/screens/dashboard/dashboard.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class ClearFilesButton extends StatelessWidget {
5252
@override
5353
Widget build(BuildContext context) {
5454
return BlocConsumer<ProcessBloc, ProcessState>(
55+
listenWhen: (_, __) => true,
5556
listener: (context, processState) {
5657
//TODO: fix only works the first time, bloc wont emit same state
5758
if (CCExtractor.exitCodes[processState.exitCode] != null) {

0 commit comments

Comments
 (0)