Skip to content

Commit

Permalink
feat: ???
Browse files Browse the repository at this point in the history
  • Loading branch information
loliGothicK committed Jan 29, 2024
1 parent c2e86d3 commit e92aaf0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions MitamatchOperations/Pages/ControlDashboardPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ private void Update(string user, Order ordered)

private static Task<AnalyzeResult> Analyze(string raw)
{
var orderedRegex = OrderPrepareRegex();
var orderedRegex = new Regex(@"(.+)がオーダー(.+)を準備");
var match = orderedRegex.Match(raw);

return Task.FromResult<AnalyzeResult>(match.Success
Expand Down Expand Up @@ -757,10 +757,7 @@ private void DeckLoadBox_OnSelectionChanged(object sender, SelectionChangedEvent
{
LoadButton.IsEnabled = true;
}

[GeneratedRegex(@"(.+)がオーダー(.+)を準備")]
private static partial Regex OrderPrepareRegex();


private void AddScreen_OnClick(object sender, RoutedEventArgs e)
{
if (sender is not ToggleButton toggle) return;
Expand Down

0 comments on commit e92aaf0

Please sign in to comment.