Fixes for PostHog

This commit is contained in:
Arseni
2025-12-11 17:41:25 +03:00
parent 97f71d125e
commit 83e3af9a42
18 changed files with 276 additions and 39 deletions

View File

@@ -4,7 +4,7 @@ import 'package:provider/provider.dart';
import 'package:pshared/provider/locale.dart';
// import 'package:pweb/services/amplitude.dart';
import 'package:pweb/services/posthog.dart';
import 'package:pweb/generated/i18n/app_localizations.dart';
@@ -58,7 +58,7 @@ class LocalePicker extends StatelessWidget {
onChanged: (locale) {
if (locale != null) {
localeProvider.setLocale(locale);
// AmplitudeService.localeChanged(locale);
PosthogService.localeChanged(locale);
}
},
decoration: const InputDecoration(