Skip to content

Commit 7c621a9

Browse files
fixup! TF-3603: Integrate Cozy features
1 parent d593730 commit 7c621a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ class _TMailAppState extends State<TMailApp> {
6363
} else {
6464
final cozyConfig = CozyConfig();
6565

66-
cozyConfig.manager.isInsideCozy.then((isInsideCozy) async {
66+
cozyConfig.manager.injectCozyScript().then((_) async {
67+
final isInsideCozy = await cozyConfig.manager.isInsideCozy;
6768
if (!isInsideCozy) return;
6869

6970
await cozyConfig.manager.initialize();

0 commit comments

Comments
 (0)