mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Fix username in bloc id being case sensitive
This commit is contained in:
parent
ab202f65f2
commit
2c62b35321
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'package:nc_photos/account.dart';
|
||||
|
||||
String getInstNameForAccount(String className, Account account) =>
|
||||
"$className(${account.scheme}://${account.username}@${account.address})";
|
||||
"$className(${account.scheme}://${account.username.toCaseInsensitiveString()}@${account.address})";
|
||||
|
||||
String getInstNameForRootAwareAccount(String className, Account account) =>
|
||||
"$className(${account.scheme}://${account.username}@${account.address}?${account.roots.join('&')})";
|
||||
"$className(${account.scheme}://${account.username.toCaseInsensitiveString()}@${account.address}?${account.roots.join('&')})";
|
||||
|
|
Loading…
Reference in a new issue