Commit 01f1351d authored by Adam Barth's avatar Adam Barth

Merge pull request #1321 from jamesr/update_for_sky_services_roll

Updates for change in Mojom dart enum generation
parents 2ce5a0c5 98091300
......@@ -113,7 +113,7 @@ class MineDiggerApp extends App {
probe(ix, iy);
},
onLongPress: () {
userFeedback.performHapticFeedback(HapticFeedbackType_LONG_PRESS);
userFeedback.performHapticFeedback(HapticFeedbackType.LONG_PRESS);
flag(ix, iy);
},
child: new Listener(
......
......@@ -48,14 +48,14 @@ class DatePicker extends StatefulComponent {
DatePickerMode _mode = DatePickerMode.day;
void _handleModeChanged(DatePickerMode mode) {
userFeedback.performHapticFeedback(HapticFeedbackType_VIRTUAL_KEY);
userFeedback.performHapticFeedback(HapticFeedbackType.VIRTUAL_KEY);
setState(() {
_mode = mode;
});
}
void _handleYearChanged(DateTime dateTime) {
userFeedback.performHapticFeedback(HapticFeedbackType_VIRTUAL_KEY);
userFeedback.performHapticFeedback(HapticFeedbackType.VIRTUAL_KEY);
setState(() {
_mode = DatePickerMode.day;
});
......@@ -64,7 +64,7 @@ class DatePicker extends StatefulComponent {
}
void _handleDayChanged(DateTime dateTime) {
userFeedback.performHapticFeedback(HapticFeedbackType_VIRTUAL_KEY);
userFeedback.performHapticFeedback(HapticFeedbackType.VIRTUAL_KEY);
if (onChanged != null)
onChanged(dateTime);
}
......
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