10 lines
216 B
Dart
10 lines
216 B
Dart
|
|
import 'package:frosty/constants.dart';
|
||
|
|
|
||
|
|
String getReadableName(String displayName, String username) {
|
||
|
|
if (!regexEnglish.hasMatch(displayName)) {
|
||
|
|
return '$displayName ($username)';
|
||
|
|
}
|
||
|
|
|
||
|
|
return displayName;
|
||
|
|
}
|