Update _getProviderTitle to split on parentheses
This commit is contained in:
parent
7fefadc808
commit
10ca447f54
1 changed files with 1 additions and 1 deletions
|
@ -65,6 +65,6 @@ class IconUtils {
|
|||
}
|
||||
|
||||
String _getProviderTitle(String provider) {
|
||||
return provider.split(".")[0].toLowerCase();
|
||||
return provider.split(RegExp(r'[.(]'))[0].trim().toLowerCase();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue