From 1bd57d8ca6d4a9b9db28344c91e7d73ec0fb0d89 Mon Sep 17 00:00:00 2001 From: Lior Tal Date: Fri, 2 Dec 2016 09:35:55 +0200 Subject: [PATCH] =?UTF-8?q?Trim=20whitespace=20from=20app=20id=E2=80=99s?= =?UTF-8?q?=20in=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding a space to the FB app id leads to build errors, as the app id is added to the manifest. --- Facebook.Unity.Editor/FacebookSettingsEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facebook.Unity.Editor/FacebookSettingsEditor.cs b/Facebook.Unity.Editor/FacebookSettingsEditor.cs index a8f029221..3e9b5c894 100644 --- a/Facebook.Unity.Editor/FacebookSettingsEditor.cs +++ b/Facebook.Unity.Editor/FacebookSettingsEditor.cs @@ -181,7 +181,7 @@ private void AppIdGUI() GUI.changed = false; EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField(this.appIdLabel); - FacebookSettings.AppIds[i] = EditorGUILayout.TextField(FacebookSettings.AppIds[i]); + FacebookSettings.AppIds[i] = EditorGUILayout.TextField(FacebookSettings.AppIds[i]).Trim(); EditorGUILayout.EndHorizontal(); EditorGUILayout.BeginHorizontal();