Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
01f1351d
Commit
01f1351d
authored
Sep 24, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1321 from jamesr/update_for_sky_services_roll
Updates for change in Mojom dart enum generation
parents
2ce5a0c5
98091300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
main.dart
examples/mine_digger/lib/main.dart
+1
-1
date_picker.dart
packages/flutter/lib/src/widgets/date_picker.dart
+3
-3
No files found.
examples/mine_digger/lib/main.dart
View file @
01f1351d
...
...
@@ -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
(
...
...
packages/flutter/lib/src/widgets/date_picker.dart
View file @
01f1351d
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment