Skip to content

Commit aa29a61

Browse files
committed
Fixed View Titles Setting feature
1 parent 76e1084 commit aa29a61

File tree

1 file changed

+3
-3
lines changed
  • how-to/web-interop-support-context-and-intents/client/src/platform/apps

1 file changed

+3
-3
lines changed

how-to/web-interop-support-context-and-intents/client/src/platform/apps/apps.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { OpenFin } from "@openfin/core";
21
import type { PlatformApp, PlatformAppIdentifier } from "../../shapes/app-shapes";
32
import type { PlatformLayoutSnapshot } from "../../shapes/layout-shapes";
43
import { isEmpty, randomUUID } from "../../utils";
@@ -86,6 +85,7 @@ export async function launch(
8685
await window?.fin?.Platform.Layout.getCurrentSync().addView({
8786
name,
8887
url: appToLaunch.details.url,
88+
titlePriority: "options",
8989
title
9090
});
9191
} else {
@@ -160,8 +160,8 @@ function getAppLayout(
160160
componentName: "view",
161161
componentState: {
162162
url: platformApp.details.url,
163-
name: viewName
164-
// titlePriority: "options" // Pending release
163+
name: viewName,
164+
titlePriority: "options"
165165
},
166166
title
167167
}

0 commit comments

Comments
 (0)