This commit is contained in:
2026-03-22 00:31:31 +03:00
parent dedf5ada81
commit 6213b6af36
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class AppTheme {
final textTheme = GoogleFonts.poppinsTextTheme(base.textTheme).apply(
bodyColor: AppColors.textPrimary,
displayColor: AppColors.textPrimary,
fontFamilyFallback: ['Roboto'], // Ensures Cyrillic renders with same visual style
fontFamilyFallback: ['Nunito'], // Ensures Cyrillic renders with same visual style
);
return base.copyWith(
+2 -2
View File
@@ -70,8 +70,8 @@ class AppStrings {
String get budgetHint => _ru ? 'Месячный лимит' : 'Monthly limit';
String get budgetNone => _ru ? 'Не установлен' : 'Not set';
String get monthlyBudgetSetting => _ru ? 'Месячный бюджет' : 'Monthly Budget';
String get yourMonthlySpendingLimit => _ru ? 'Ваш месячный лимит расходов' : 'Your monthly spending limit';
String get setMonthlySpendingLimit => _ru ? 'Установите месячный лимит расходов для отслеживания бюджета' : 'Set a monthly spending limit to track your budget';
String get yourMonthlySpendingLimit => _ru ? 'Ваш лимит расходов на месяц' : 'Your monthly spending limit';
String get setMonthlySpendingLimit => _ru ? 'Контролируйте свои расходы за месяц' : 'Track your monthly spending';
String get leaveEmptyToRemove => _ru ? 'Оставьте пустым для удаления лимита' : 'Leave empty to remove budget limit';
String get data => _ru ? 'Данные' : 'Data';
String get exportData => _ru ? 'Экспорт данных' : 'Export data';
+2
View File
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'app/app.dart';
@@ -14,6 +15,7 @@ void main() async {
await initializeDateFormatting('ru_RU', null);
await initializeDateFormatting('en', null);
await initializeDateFormatting('ru', null);
await GoogleFonts.pendingFonts([GoogleFonts.nunito()]);
final prefs = await SharedPreferences.getInstance();
await HapticService.init();