mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
stableee
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ class AppTheme {
|
|||||||
final textTheme = GoogleFonts.poppinsTextTheme(base.textTheme).apply(
|
final textTheme = GoogleFonts.poppinsTextTheme(base.textTheme).apply(
|
||||||
bodyColor: AppColors.textPrimary,
|
bodyColor: AppColors.textPrimary,
|
||||||
displayColor: 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(
|
return base.copyWith(
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ class AppStrings {
|
|||||||
String get budgetHint => _ru ? 'Месячный лимит' : 'Monthly limit';
|
String get budgetHint => _ru ? 'Месячный лимит' : 'Monthly limit';
|
||||||
String get budgetNone => _ru ? 'Не установлен' : 'Not set';
|
String get budgetNone => _ru ? 'Не установлен' : 'Not set';
|
||||||
String get monthlyBudgetSetting => _ru ? 'Месячный бюджет' : 'Monthly Budget';
|
String get monthlyBudgetSetting => _ru ? 'Месячный бюджет' : 'Monthly Budget';
|
||||||
String get yourMonthlySpendingLimit => _ru ? 'Ваш месячный лимит расходов' : 'Your monthly spending limit';
|
String get yourMonthlySpendingLimit => _ru ? 'Ваш лимит расходов на месяц' : 'Your monthly spending limit';
|
||||||
String get setMonthlySpendingLimit => _ru ? 'Установите месячный лимит расходов для отслеживания бюджета' : 'Set a monthly spending limit to track your budget';
|
String get setMonthlySpendingLimit => _ru ? 'Контролируйте свои расходы за месяц' : 'Track your monthly spending';
|
||||||
String get leaveEmptyToRemove => _ru ? 'Оставьте пустым для удаления лимита' : 'Leave empty to remove budget limit';
|
String get leaveEmptyToRemove => _ru ? 'Оставьте пустым для удаления лимита' : 'Leave empty to remove budget limit';
|
||||||
String get data => _ru ? 'Данные' : 'Data';
|
String get data => _ru ? 'Данные' : 'Data';
|
||||||
String get exportData => _ru ? 'Экспорт данных' : 'Export data';
|
String get exportData => _ru ? 'Экспорт данных' : 'Export data';
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.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:intl/date_symbol_data_local.dart';
|
||||||
import 'package:shared_preferences/shared_preferences.dart';
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
import 'app/app.dart';
|
import 'app/app.dart';
|
||||||
@@ -14,6 +15,7 @@ void main() async {
|
|||||||
await initializeDateFormatting('ru_RU', null);
|
await initializeDateFormatting('ru_RU', null);
|
||||||
await initializeDateFormatting('en', null);
|
await initializeDateFormatting('en', null);
|
||||||
await initializeDateFormatting('ru', null);
|
await initializeDateFormatting('ru', null);
|
||||||
|
await GoogleFonts.pendingFonts([GoogleFonts.nunito()]);
|
||||||
|
|
||||||
final prefs = await SharedPreferences.getInstance();
|
final prefs = await SharedPreferences.getInstance();
|
||||||
await HapticService.init();
|
await HapticService.init();
|
||||||
|
|||||||
Reference in New Issue
Block a user