Skip to content

Commit d17eb55

Browse files
chore: Fix spelling mistake
foreward => forward
1 parent 2a958d9 commit d17eb55

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

OneDrive-Cloud-Player/ViewModels/VideoPlayerPageViewModel.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class VideoPlayerPageViewModel : ObservableRecipient, IDisposable, INavig
6868
public ICommand StopMediaCommand { get; }
6969
public ICommand KeyDownEventCommand { get; }
7070
public ICommand SeekBackwardCommand { get; }
71-
public ICommand SeekForewardCommand { get; }
71+
public ICommand SeekForwardCommand { get; }
7272
public ICommand PlayPreviousVideoCommand { get; }
7373
public ICommand PlayNextVideoCommand { get; }
7474

@@ -228,7 +228,7 @@ public VideoPlayerPageViewModel()
228228
StopMediaCommand = new RelayCommand(StopMedia, CanExecuteCommand);
229229
KeyDownEventCommand = new RelayCommand<KeyEventArgs>(KeyDownEvent);
230230
SeekBackwardCommand = new RelayCommand<double>(SeekBackward);
231-
SeekForewardCommand = new RelayCommand<double>(SeekForeward);
231+
SeekForwardCommand = new RelayCommand<double>(SeekForward);
232232
PlayPreviousVideoCommand = new RelayCommand(PlayPreviousVideo, CanExecuteCommand);
233233
PlayNextVideoCommand = new RelayCommand(PlayNextVideo, CanExecuteCommand);
234234
}
@@ -487,10 +487,10 @@ public void SeekBackward(double ms)
487487
}
488488

489489
/// <summary>
490-
/// Seek foreward in the media by given miliseconds.
490+
/// Seek forward in the media by given miliseconds.
491491
/// </summary>
492492
/// <param name="ms"></param>
493-
public void SeekForeward(double ms)
493+
public void SeekForward(double ms)
494494
{
495495
SetVideoTime(MediaPlayer.Time + ms);
496496
}
@@ -564,13 +564,13 @@ private void KeyDownEvent(KeyEventArgs keyEvent)
564564
SeekBackward(5000);
565565
break;
566566
case VirtualKey.Right:
567-
SeekForeward(5000);
567+
SeekForward(5000);
568568
break;
569569
case VirtualKey.J:
570570
SeekBackward(10000);
571571
break;
572572
case VirtualKey.L:
573-
SeekForeward(10000);
573+
SeekForward(10000);
574574
break;
575575
}
576576

OneDrive-Cloud-Player/Views/VideoPlayerPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,12 +508,12 @@
508508
<FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{Binding PlayPauseButtonFontIcon}"/>
509509
</Button>
510510

511-
<!--Skip foreward button-->
511+
<!--Skip forward button-->
512512
<Button
513513
Grid.Column="3" HorizontalAlignment="Center"
514514
VerticalAlignment="Center" Margin="0,0,0,0"
515515
Width="50" Height="50"
516-
Command="{Binding SeekForewardCommand}"
516+
Command="{Binding SeekForwardCommand}"
517517
Background="Transparent">
518518
<Button.CommandParameter>
519519
<x:Double>30000</x:Double>

0 commit comments

Comments
 (0)