mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use var when neccessary
This commit is contained in:
parent
a8a305fce0
commit
5be732d533
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ namespace Flow.Launcher.Infrastructure
|
|||
{
|
||||
doublePin.Append(first[fullPinyin[..2]]);
|
||||
|
||||
if (second.TryGetValue(fullPinyin[2..], out string tmp))
|
||||
if (second.TryGetValue(fullPinyin[2..], out var tmp))
|
||||
{
|
||||
doublePin.Append(tmp);
|
||||
}
|
||||
|
|
@ -176,7 +176,7 @@ namespace Flow.Launcher.Infrastructure
|
|||
{
|
||||
doublePin.Append(fullPinyin[0]);
|
||||
|
||||
if (second.TryGetValue(fullPinyin[1..], out string tmp))
|
||||
if (second.TryGetValue(fullPinyin[1..], out var tmp))
|
||||
{
|
||||
doublePin.Append(tmp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue