feat(mobile): exclude locales from overpass font (#14158)

* feat(mobile): create localeProvider

This provider can be used to refresh providers that provide UI elements
and get cached.

* feat(mobile): use default font for locales not supported by Overpass

* chore(mobile): fix test

* refactor(mobile): use Locale instead of String
This commit is contained in:
John Stef
2024-11-19 17:36:46 +02:00
committed by GitHub
parent b031a8cac1
commit bcd17c2ebe
6 changed files with 60 additions and 21 deletions
@@ -0,0 +1,4 @@
import 'package:flutter/widgets.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
final localeProvider = Provider<Locale>((_) => throw UnimplementedError());