An open-source cross-platform alternative to AirDrop
feat: do not print file contents
Tien Do Nam8a38a89e32c4
diff --git a/app/lib/model/state/send/web/web_send_state.dart b/app/lib/model/state/send/web/web_send_state.dartindex 671269a3..8006480e 100644--- a/app/lib/model/state/send/web/web_send_state.dart+++ b/app/lib/model/state/send/web/web_send_state.dart@@ -19,4 +19,9 @@ class WebSendState with WebSendStateMappable {required this.pin,required this.pinAttempts,});++ @override+ String toString() {+ return 'WebSendState(sessions: $sessions, files: <${files.keys}>, autoAccept: $autoAccept, pin: $pin, pinAttempts: $pinAttempts)';+ }}diff --git a/app/lib/model/state/server/server_state.dart b/app/lib/model/state/server/server_state.dartindex f0624e5e..df41a0fa 100644--- a/app/lib/model/state/server/server_state.dart+++ b/app/lib/model/state/server/server_state.dart@@ -24,4 +24,9 @@ class ServerState with ServerStateMappable {required this.webSendState,required this.pinAttempts,});++ @override+ String toString() {+ return 'ServerState(alias: $alias, port: $port, https: $https, session: $session, webSendState: $webSendState, pinAttempts: $pinAttempts)';+ }}