removed developer tool setting
This commit is contained in:
parent
74f0d8bdbe
commit
cf094f9a6d
|
@ -174,12 +174,6 @@ namespace MediaBrowser.Model.Configuration
|
|||
/// <value>The file watcher delay.</value>
|
||||
public int FileWatcherDelay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable developer tools].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable developer tools]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableDeveloperTools { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable dashboard response caching].
|
||||
/// Allows potential contributors without visual studio to modify production dashboard code and test changes.
|
||||
|
@ -255,10 +249,6 @@ namespace MediaBrowser.Model.Configuration
|
|||
EnableEpisodeChapterImageExtraction = false;
|
||||
EnableOtherVideoChapterImageExtraction = false;
|
||||
|
||||
#if (DEBUG)
|
||||
EnableDeveloperTools = true;
|
||||
#endif
|
||||
|
||||
MinResumePct = 5;
|
||||
MaxResumePct = 90;
|
||||
MinResumeDurationSeconds = Convert.ToInt32(TimeSpan.FromMinutes(5).TotalSeconds);
|
||||
|
|
|
@ -133,14 +133,10 @@ namespace MediaBrowser.ServerApplication
|
|||
{
|
||||
Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
var developerToolsVisibility = _configurationManager.Configuration.EnableDeveloperTools
|
||||
? Visibility.Visible
|
||||
: Visibility.Collapsed;
|
||||
|
||||
separatorDeveloperTools.Visibility = developerToolsVisibility;
|
||||
cmdReloadServer.Visibility = developerToolsVisibility;
|
||||
cmOpenExplorer.Visibility = developerToolsVisibility;
|
||||
cmShowLogWindow.Visibility = developerToolsVisibility;
|
||||
separatorDeveloperTools.Visibility = Visibility.Visible;
|
||||
cmdReloadServer.Visibility = Visibility.Visible;
|
||||
cmOpenExplorer.Visibility = Visibility.Visible;
|
||||
cmShowLogWindow.Visibility = Visibility.Visible;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user