Skip to content

An open-source cross-platform alternative to AirDrop

style: add braces

Tien Do Nam527f36fb35d1
diff --git a/app/lib/pages/web_send_page.dart b/app/lib/pages/web_send_page.dart
index 5b23fd0e..5410f258 100644
--- a/app/lib/pages/web_send_page.dart
+++ b/app/lib/pages/web_send_page.dart
@@ -277,10 +277,11 @@ class _WebSendPageState extends State<WebSendPage> with Refena {
Checkbox(
value: _enableTemporaryAnonymousAccess,
onChanged: (value) {
- if(_enableGlobalAnonymousAccess)
+ if(_enableGlobalAnonymousAccess) {
// global setting will override to temporary
// so can't change this if global is on
- return null;
+ return;
+ }
_init(encrypted: _encrypted, anonymousAccess: value == true );
},
),