mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 04:11:28 +03:00
@@ -2314,3 +2314,10 @@ Widget unreadTopRightBuilder(RxInt? count, {Widget? icon}) {
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
String toCapitalized(String s) {
|
||||
if (s.isEmpty) {
|
||||
return s;
|
||||
}
|
||||
return s.substring(0, 1).toUpperCase() + s.substring(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user