File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ class LiveKitTheme {
32
32
foregroundColor: MaterialStateProperty .all <Color >(Colors .white),
33
33
// backgroundColor: MaterialStateProperty.all<Color>(accentColor),
34
34
backgroundColor: MaterialStateProperty .resolveWith ((states) {
35
- if (states.contains (MaterialState .disabled))
35
+ if (states.contains (MaterialState .disabled)) {
36
36
return accentColor.withOpacity (0.5 );
37
+ }
37
38
return accentColor;
38
39
}),
39
40
),
Original file line number Diff line number Diff line change @@ -76,8 +76,9 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
76
76
// Attempt Validation
77
77
try {
78
78
final validateResponse = await http.get (validateUri);
79
- if (validateResponse.statusCode != 200 )
79
+ if (validateResponse.statusCode != 200 ) {
80
80
throw ConnectException (validateResponse.body);
81
+ }
81
82
throw ConnectException ();
82
83
} catch (error) {
83
84
// Pass it up if it's already a `ConnectError`
You can’t perform that action at this time.
0 commit comments