Skip to content

Commit

Permalink
Trim whitespace from app id’s in editor
Browse files Browse the repository at this point in the history
Adding a space to the FB app id leads to build errors, as the app id is added to the manifest.
  • Loading branch information
tallior committed Dec 2, 2016
1 parent 5a56302 commit 1bd57d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Facebook.Unity.Editor/FacebookSettingsEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1bd57d8

Please sign in to comment.