chore: update and set minSdk to 24, and dispose emai controller in forgot password screen

This commit is contained in:
Resh 2024-12-19 09:10:22 +07:00
parent dfeb41cf79
commit 9a357486a3
3 changed files with 10 additions and 4 deletions

View File

@ -14,7 +14,7 @@ android {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
@ -24,7 +24,7 @@ android {
applicationId = "com.example.english_learning"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
minSdk = 24
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName

View File

@ -1,3 +1,3 @@
const String baseUrl = 'https://z30xrgl5-3001.asse.devtunnels.ms/';
const String baseUrl = 'http://54.173.167.62/';
const String mediaUrl = 'https://z30xrgl5-3001.asse.devtunnels.ms/api/uploads/';
const String mediaUrl = 'http://54.173.167.62/api/uploads/';

View File

@ -169,4 +169,10 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> {
),
);
}
@override
void dispose() {
_emailController.dispose();
super.dispose();
}
}