mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 02:48:29 +03:00
Added CultureInfo in char.ToLower at GetServiceRegistrationName method (#2810)
This commit is contained in:
parent
757e5ea647
commit
a67f50b145
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Bit.Core.Abstractions;
|
using Bit.Core.Abstractions;
|
||||||
|
@ -228,7 +229,7 @@ namespace Bit.Core.Utilities
|
||||||
// and lower case the 2nd one (index 1)
|
// and lower case the 2nd one (index 1)
|
||||||
indexToLowerCase = 1;
|
indexToLowerCase = 1;
|
||||||
}
|
}
|
||||||
sb.Append(char.ToLower(typeName[indexToLowerCase]));
|
sb.Append(char.ToLower(typeName[indexToLowerCase], new CultureInfo("en-US")));
|
||||||
sb.Append(typeName.Substring(++indexToLowerCase));
|
sb.Append(typeName.Substring(++indexToLowerCase));
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue