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
9bf16fbd
Commit
9bf16fbd
authored
Jan 12, 2016
by
Alex Fandrianto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also update piano.dart
parent
ddb060d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
piano.dart
examples/widgets/piano.dart
+1
-1
No files found.
examples/widgets/piano.dart
View file @
9bf16fbd
...
@@ -64,7 +64,7 @@ class PianoApp extends StatelessComponent {
...
@@ -64,7 +64,7 @@ class PianoApp extends StatelessComponent {
Future
loadSounds
()
async
{
Future
loadSounds
()
async
{
MediaServiceProxy
mediaService
=
new
MediaServiceProxy
.
unbound
();
MediaServiceProxy
mediaService
=
new
MediaServiceProxy
.
unbound
();
try
{
try
{
shell
.
connectToService
(
null
,
mediaService
);
shell
.
connectToService
(
"mojo:media_service"
,
mediaService
);
List
<
Future
<
MediaPlayerPrepareResponseParams
>>
pending
=
<
Future
<
MediaPlayerPrepareResponseParams
>>[];
List
<
Future
<
MediaPlayerPrepareResponseParams
>>
pending
=
<
Future
<
MediaPlayerPrepareResponseParams
>>[];
for
(
PianoKey
key
in
keys
)
for
(
PianoKey
key
in
keys
)
pending
.
add
(
key
.
load
(
mediaService
));
pending
.
add
(
key
.
load
(
mediaService
));
...
...
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