Skip to content

Commit

Permalink
misc(wpf): remove link to old questionnaire
Browse files Browse the repository at this point in the history
  • Loading branch information
Genteure committed Feb 3, 2023
1 parent fee7e6c commit 7672b40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions BililiveRecorder.WPF/Pages/RoomListPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 0 additions & 7 deletions BililiveRecorder.WPF/Pages/RoomListPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ public RoomListPage()
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)
Expand Down

0 comments on commit 7672b40

Please sign in to comment.