diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 08153f1..778c263 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -34,7 +34,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.newhorizon.hadihoda" + applicationId = "com.ofoghno.hadihoda" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = 24 diff --git a/android/keystore.properties b/android/keystore.properties index 6eb3144..a48cd44 100644 --- a/android/keystore.properties +++ b/android/keystore.properties @@ -1,4 +1,4 @@ -storePassword=Realhadihoda313 -keyPassword=Realhadihoda313 -keyAlias=upload -storeFile=upload-keystore.jks +storePassword=123456789 +keyPassword=123456789 +keyAlias=newhorizon +storeFile=../../bazaar_keystore/bazaar.keystore diff --git a/bazaar_keystore/bazaar.keystore b/bazaar_keystore/bazaar.keystore new file mode 100644 index 0000000..4adafef Binary files /dev/null and b/bazaar_keystore/bazaar.keystore differ diff --git a/lib/core/constants/my_constants.dart b/lib/core/constants/my_constants.dart index a37adc9..cd62868 100644 --- a/lib/core/constants/my_constants.dart +++ b/lib/core/constants/my_constants.dart @@ -28,7 +28,7 @@ class MyConstants { static const double questionAudioVolume = 1.0; static const double musicAudioVolume = 0.3; static const double effectAudioVolume = 0.2; - static const String defaultLanguage = 'en'; + static const String defaultLanguage = 'fa'; static const List languages = [ LanguageEntity(displayName: '', code: 'en', title: ''), LanguageEntity(displayName: '', code: 'de', title: ''), diff --git a/lib/features/app/presentation/bloc/app_bloc.dart b/lib/features/app/presentation/bloc/app_bloc.dart index eebdb70..d75e85b 100644 --- a/lib/features/app/presentation/bloc/app_bloc.dart +++ b/lib/features/app/presentation/bloc/app_bloc.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:ui'; import 'package:bloc/bloc.dart'; import 'package:hadi_hoda_flutter/core/constants/my_constants.dart'; diff --git a/lib/features/app/presentation/bloc/app_state.dart b/lib/features/app/presentation/bloc/app_state.dart index 0b4a664..a1d74f2 100644 --- a/lib/features/app/presentation/bloc/app_state.dart +++ b/lib/features/app/presentation/bloc/app_state.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; class AppState { final Locale locale; - const AppState({this.locale = const Locale('en', 'US')}); + const AppState({this.locale = const Locale('fa')}); AppState copyWith({Locale? locale}) { return AppState(locale: locale ?? this.locale);