Index: samples/calculator/tape.dart |
diff --git a/samples/calculator/tape.dart b/samples/calculator/tape.dart |
index cc4c6eb7bc3f1c9c22d740c5cc1286515e70e714..b2ab85a2c3035ce619290375ddc48d00ce33533a 100644 |
--- a/samples/calculator/tape.dart |
+++ b/samples/calculator/tape.dart |
@@ -221,7 +221,7 @@ class Tape { |
} |
bool get isClear { |
- return tapeUI.tape.elements.last().classes.contains(TapeUI.clearCalc); |
+ return tapeUI.tape.elements.last.classes.contains(TapeUI.clearCalc); |
} |
void clearTape() { |