Update _getProviderTitle to split on parentheses

This commit is contained in:
laurenspriem 2023-08-24 22:05:11 +02:00
parent 7fefadc808
commit 10ca447f54

View file

@ -65,6 +65,6 @@ class IconUtils {
}
String _getProviderTitle(String provider) {
return provider.split(".")[0].toLowerCase();
return provider.split(RegExp(r'[.(]'))[0].trim().toLowerCase();
}
}