diff options
Diffstat (limited to 'MediaBrowser.Common/UI/Splash.xaml.cs')
| -rw-r--r-- | MediaBrowser.Common/UI/Splash.xaml.cs | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/MediaBrowser.Common/UI/Splash.xaml.cs b/MediaBrowser.Common/UI/Splash.xaml.cs index 68926a063..fdd36396f 100644 --- a/MediaBrowser.Common/UI/Splash.xaml.cs +++ b/MediaBrowser.Common/UI/Splash.xaml.cs @@ -1,8 +1,7 @@ -using System;
-using System.Windows;
-using MahApps.Metro.Controls;
-using MediaBrowser.Common.Logging;
+using MahApps.Metro.Controls;
using MediaBrowser.Model.Progress;
+using System;
+using System.Windows;
namespace MediaBrowser.Common.UI
{
@@ -21,13 +20,7 @@ namespace MediaBrowser.Common.UI void ProgressChanged(object sender, TaskProgress e)
{
- // If logging has loaded, put a message in the log.
- if (Logger.LoggerInstance != null)
- {
- Logger.LogInfo(e.Description);
- }
-
- lblProgress.Content = e.Description;
+ lblProgress.Text = e.Description;
pbProgress.Value = (double)e.PercentComplete;
}
|
