Skip to content

Commit c0c015c

Browse files
committed
Update README.md
1 parent c88fe48 commit c0c015c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ Source code for the example is located in /src/main/java/com/openfin/desktop/dem
3434

3535
3. Create new application when clicking on Create App:
3636

37-
Application app = new Application(options, controller, new AckListener() {
37+
Application app = new Application(options, desktopConnection, new AckListener() {
3838
@Override
3939
public void onSuccess(Ack ack) {
4040
Application application = (Application) ack.getSource();
4141
application.run(); // run the app
42-
addApplication(options);
4342
}
4443
@Override
4544
public void onError(Ack ack) {

0 commit comments

Comments
 (0)