Skip to content

Commit

Permalink
MetadataViewer: Fix menu visibility (was no longer displayed for seas…
Browse files Browse the repository at this point in the history
…ons and episodes)
  • Loading branch information
softworkz committed Aug 25, 2016
1 parent a379dea commit 5802204
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions MetadataViewer/HtmlHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ private static MemoryStream ModifyContextMenu(IApplicationPaths appPaths)
{
mark1Hit = false;
sb.AppendLine();
sb.AppendLine(" if (isMobileApp && options.identify !== false) {");
sb.AppendLine(" if (itemHelper.canIdentify(user, item.Type)) {");
sb.AppendLine(" if (item.ProviderIds) {");
sb.AppendLine(" var provIds = JSON.stringify(item.ProviderIds);");
sb.AppendLine(" if (provIds && provIds.length > 5) {");
sb.AppendLine(" commands.push({");
sb.AppendLine(" name: 'View Raw Metadata',");
sb.AppendLine(" id: 'showmetadata'");
Expand Down
4 changes: 2 additions & 2 deletions MetadataViewer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MetadataViewer Beta 10")]
[assembly: AssemblyDescription("Beta 10")]
[assembly: AssemblyTitle("MetadataViewer Beta 12")]
[assembly: AssemblyDescription("Beta 12")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MetadataViewer")]
Expand Down

0 comments on commit 5802204

Please sign in to comment.