mirror of
https://github.com/koloideal/Casha.git
synced 2026-08-08 17:51:14 +03:00
13 lines
410 B
Dart
13 lines
410 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import '../../features/dashboard/provider.dart';
|
|
import '../services/billing_service.dart';
|
|
|
|
final billingServiceProvider = Provider<BillingService>((ref) {
|
|
if (kDebugMode) {
|
|
final prefs = ref.watch(sharedPreferencesProvider);
|
|
return DebugBillingService(prefs);
|
|
}
|
|
return PlayBillingService();
|
|
});
|