fix code style

This commit is contained in:
Laura Hausmann 2019-12-15 15:32:29 +01:00
parent 11e91f7801
commit 711cd155b7
Signed by: zotan
GPG key ID: 5EC1D38FFC321311

View file

@ -187,9 +187,9 @@ namespace telegram {
}
public static string ReadConsolePassword() {
string pass = "";
var pass = "";
do {
ConsoleKeyInfo key = Console.ReadKey(true);
var key = Console.ReadKey(true);
if (key.Key != ConsoleKey.Backspace && key.Key != ConsoleKey.Enter) {
pass += key.KeyChar;
Console.Write("*");