mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-24 01:28:27 +01:00
Removed progress value from startup
This commit is contained in:
parent
fb88e4d5fc
commit
fe427bc7f4
@@ -3,7 +3,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
||||
Title="MediaBrowser"
|
||||
Height="280"
|
||||
Height="230"
|
||||
Width="520"
|
||||
ShowInTaskbar="True"
|
||||
ResizeMode="NoResize"
|
||||
@@ -26,7 +26,8 @@
|
||||
</Window.Background>
|
||||
<Grid Name="splashGrid">
|
||||
<Image x:Name="imgLogo" HorizontalAlignment="Left" VerticalAlignment="Top" Stretch="Uniform" Grid.Row="0" Margin="10 10 10 10" Source="../Resources/Images/mblogoblack.png"/>
|
||||
<ProgressBar Name="pbProgress" Minimum="0" Maximum="100" HorizontalAlignment="Left" Height="24" Margin="30,110,30,0" Width="460" Grid.Row="1"/>
|
||||
<TextBlock Name="lblProgress" Margin="0,190,10,0" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="2" FontSize="18" Foreground="Black" Text="Label"></TextBlock>
|
||||
<StackPanel Margin="0,130,10,0" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="2" Orientation="Horizontal">
|
||||
<TextBlock Name="lblProgress" FontSize="18" Foreground="Black" Text="Label"></TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Controls:MetroWindow>
|
||||
|
||||
@@ -20,8 +20,7 @@ namespace MediaBrowser.Common.UI
|
||||
|
||||
void ProgressChanged(object sender, TaskProgress e)
|
||||
{
|
||||
lblProgress.Text = e.Description;
|
||||
pbProgress.Value = (double)e.PercentComplete;
|
||||
lblProgress.Text = e.Description + "...";
|
||||
}
|
||||
|
||||
private void SplashLoaded(object sender, RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user