Clean up
This commit is contained in:
parent
d0350963cb
commit
cccbd7557e
|
@ -356,7 +356,7 @@ class MatrixState extends State<Matrix> {
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
if (widget.client == null) {
|
if (widget.client == null) {
|
||||||
client = Client(widget.clientName, debug: true);
|
client = Client(widget.clientName, debug: false);
|
||||||
if (!kIsWeb) {
|
if (!kIsWeb) {
|
||||||
_initWithStore();
|
_initWithStore();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -7,7 +7,6 @@ extension StringColor on String {
|
||||||
number += this.codeUnitAt(i);
|
number += this.codeUnitAt(i);
|
||||||
}
|
}
|
||||||
number = (number % 10) * 25.5;
|
number = (number % 10) * 25.5;
|
||||||
print(number);
|
|
||||||
return HSLColor.fromAHSL(1, number, 1, 0.35).toColor();
|
return HSLColor.fromAHSL(1, number, 1, 0.35).toColor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue