docs: Update comment for getDefaultLocale method to clarify locale handling
This commit is contained in:
@@ -32,6 +32,8 @@ class LocaleRepositoryImpl implements LocaleRepositoryInterface {
|
||||
return getDefaultLocale();
|
||||
}
|
||||
|
||||
/// We can hardcode this to english based on customer requirements,
|
||||
/// but in a more dynamic app this should be the device locale or a fallback to english.
|
||||
@override
|
||||
Locale getDefaultLocale() {
|
||||
return const Locale('en');
|
||||
|
||||
Reference in New Issue
Block a user