mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
feat(export): add input trimming in export feature
This commit is contained in:
@@ -221,7 +221,12 @@ public partial class MafileExporterVM : ObservableObject
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var split = Regex.Split(lines, "\r\n|\r|\n").Where(x => !string.IsNullOrWhiteSpace(x)).ToArray();
|
var split = Regex
|
||||||
|
.Split(lines, "\r\n|\r|\n")
|
||||||
|
.Select(x => x.Trim())
|
||||||
|
.Where(x => !string.IsNullOrWhiteSpace(x))
|
||||||
|
.ToArray();
|
||||||
|
|
||||||
ResetHintText();
|
ResetHintText();
|
||||||
ExportResult res;
|
ExportResult res;
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user