Commit d3b41867 authored by pq's avatar pq

Review nits.

parent d81212a3
......@@ -259,9 +259,9 @@ class CalcExpression {
case ExpressionState.NumberWithPoint:
case ExpressionState.Result:
return appendOperation(Operation.Subtraction);
default:
return null;
}
assert(state != null);
return null;
}
/// Computes the result of the current expression and returns a new
......
......@@ -99,7 +99,7 @@ class RaisedButton extends StatelessWidget {
if (disabledColor != null)
return disabledColor;
Brightness brightness = Theme.of(context).brightness;
switch (Theme.of(context).brightness) {
switch (brightness) {
case Brightness.light:
return Colors.black12;
case Brightness.dark:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment