misc(wpf): remove link to old questionnaire

This commit is contained in:
genteure 2023-02-03 20:15:09 +08:00
parent fee7e6c059
commit 7672b40429
2 changed files with 0 additions and 15 deletions

View File

@ -99,14 +99,6 @@
<ui:PathIcon Style="{StaticResource PathIconDataOpenInNew}"/>
</MenuItem.Icon>
</MenuItem>
<Separator Name="wj202209Separator" Visibility="Collapsed"/>
<MenuItem Header="问卷调查" Name="wj202209" Visibility="Collapsed">
<MenuItem Header="2022 年录播姬问卷调查" Command="{x:Static m:Commands.OpenLink}" CommandParameter="https://rec.danmuji.org/link/wj202209_wpf/">
<MenuItem.Icon>
<ui:PathIcon Style="{StaticResource PathIconDataOpenInNew}"/>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
</Menu>
<Separator/>
</StackPanel>

View File

@ -38,13 +38,6 @@ namespace BililiveRecorder.WPF.Pages
this.DataContextChanged += this.RoomListPage_DataContextChanged;
this.InitializeComponent();
if (DateTimeOffset.UtcNow < new DateTimeOffset(2023, 1, 1, 0, 0, 0, TimeSpan.Zero))
{
// TODO: delete this
this.wj202209Separator.Visibility = Visibility.Visible;
this.wj202209.Visibility = Visibility.Visible;
}
}
private void RoomListPage_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)