Skip to content

Commit 4910b98

Browse files
committed
Disabled possibly transparent background colors, fixes #291
1 parent ea9f7c9 commit 4910b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gic_flutter/lib/src/backend/models/screen/viewModels/screenViewModel.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ScreenViewModel {
4444
name = json['name'];
4545
controls = convertJsonToControl(json, 'controls');
4646
newControlId = json['newControlId'];
47-
backgroundColor = Color(json['backgroundColor']);
47+
backgroundColor = Color(json['backgroundColor']).withAlpha(255);
4848
backgroundPath = json['backgroundPath'];
4949
}
5050

0 commit comments

Comments
 (0)