From 33913d8b167e60b933f508db33c51ef04bbd58b9 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Mon, 19 Oct 2020 11:56:23 +0200 Subject: [PATCH 01/11] feat: Remove replaceTitleOnMobile --- examples/index.jsx | 1 - src/components/Apps/index.jsx | 5 +---- src/components/Bar.jsx | 10 +--------- src/index.jsx | 17 ++++++++--------- 4 files changed, 10 insertions(+), 23 deletions(-) diff --git a/examples/index.jsx b/examples/index.jsx index f197a511a..c888e5bc6 100644 --- a/examples/index.jsx +++ b/examples/index.jsx @@ -85,7 +85,6 @@ client.on('login', () => { appSlug: appInfo.slug, iconPath: appIcon, lang: 'en', - replaceTitleOnMobile: true, ...(isInitializedWithCozyClient() ? newOptions : oldOptions), // This should be done automatically onLogOut: async () => { diff --git a/src/components/Apps/index.jsx b/src/components/Apps/index.jsx index f0ce5e867..175021b78 100644 --- a/src/components/Apps/index.jsx +++ b/src/components/Apps/index.jsx @@ -40,7 +40,6 @@ class Apps extends Component { // data-tutorial attribute allows to be targeted in an application tutorial render() { const { - replaceTitleOnMobile, appName, appNamePrefix, appSlug, @@ -50,9 +49,7 @@ class Apps extends Component { const { opened } = this.state return (