Skip to content
Snippets Groups Projects
Commit 257ffc59 authored by Andreia Gaita's avatar Andreia Gaita
Browse files

Handle parsing of child entries in the changes view better

Fixes #257
parent ccfeef30
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,9 @@ namespace GitHub.Unity
var isFolderForMeta = false;
if (node.Children.Count() == 1)
{
isFolderForMeta = node.Children.First().Label.Substring(node.Label.Length).Equals(".meta");
var parentLabel = node.Label;
var childLabel = node.Children.First().Label;
isFolderForMeta = childLabel.EndsWith(".meta");
}
GUILayout.BeginHorizontal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment