useDeviceLocale static method

AppLocale useDeviceLocale()

Uses locale of the device, fallbacks to base locale. Returns the locale which has been set.

Implementation

static AppLocale useDeviceLocale() {
	final locale = AppLocaleUtils.findDeviceLocale();
	return setLocale(locale);
}