Skip to content

Commit f1b101b

Browse files
committed
Code style
1 parent 797083a commit f1b101b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

IPConfig/Models/Messages/KeyPressMessage.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ public KeyPressMessage(object sender, KeyEventArgs args)
2121
GetGesture();
2222
}
2323

24-
public bool GestureEquals(string gestureString)
24+
public bool GestureEquals(string gesture)
2525
{
2626
var gestureConverter = new KeyGestureConverter();
27-
var keyGesture = gestureConverter.ConvertFromInvariantString(gestureString) as KeyGesture;
28-
string? normalizedGestureString = keyGesture?.GetDisplayStringForCulture(CultureInfo.InvariantCulture);
27+
var keyGesture = gestureConverter.ConvertFromInvariantString(gesture) as KeyGesture;
28+
string? normalizedGesture = keyGesture?.GetDisplayStringForCulture(CultureInfo.InvariantCulture);
2929

30-
if (normalizedGestureString is not null)
30+
if (normalizedGesture is not null)
3131
{
32-
return normalizedGestureString.Equals(Gesture, StringComparison.OrdinalIgnoreCase);
32+
return normalizedGesture.Equals(Gesture, StringComparison.OrdinalIgnoreCase);
3333
}
3434

3535
return false;

0 commit comments

Comments
 (0)