fix(spoof): trim preset locale to 2-letter code
This commit is contained in:
@@ -182,7 +182,7 @@ class _SpoofScreenState extends State<SpoofScreen> {
|
||||
|
||||
if (_selectedMethod == SpoofingMethod.full) {
|
||||
_timezoneController.text = preset.timezone;
|
||||
_localeController.text = preset.locale;
|
||||
_localeController.text = preset.locale.split(RegExp(r'[-_]')).first;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user