Compare commits

...

2 commits

Author SHA1 Message Date
Matyáš Caras
5b5bbc890e
Added translation using Weblate (Slovak) 2024-02-12 16:32:26 +01:00
Matyáš Caras
75913280be
fix: return iOS widgets only on iOS/macOS 2024-02-12 16:32:16 +01:00
3 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,7 @@
- Make pie chart values more visible by adding the category's corresponding color as background
- Welcome text on Setup view is now centered
- Editing entries is now done by tapping the entry, instead of a dedicated button
- return iOS (Cupertino) widgets only on iOS/macOS
# 1.0.0-alpha+5
- Add tests

1
lib/l10n/app_sk.arb Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -11,10 +11,10 @@ abstract class PlatformWidget<A extends Widget, I extends Widget>
@override
Widget build(BuildContext context) {
if (Platform.isAndroid) {
return createAndroidWidget(context);
} else {
if (Platform.isIOS || Platform.isMacOS) {
return createIosWidget(context);
} else {
return createAndroidWidget(context);
}
}