fix(mobile): fix typos (#16456)

Found via codespell
This commit is contained in:
luzpaz
2025-03-01 15:06:47 -05:00
committed by GitHub
parent 0cb3dc6211
commit c8eef5ad4d
11 changed files with 14 additions and 14 deletions
@@ -104,7 +104,7 @@ class DownloadStateNotifier extends StateNotifier<DownloadState> {
}
void _taskProgressCallback(TaskProgressUpdate update) {
// Ignore if the task is cancled or completed
// Ignore if the task is canceled or completed
if (update.progress == -2 || update.progress == -1) {
return;
}
@@ -117,7 +117,7 @@ class ShareIntentUploadStateNotifier
}
void _taskProgressCallback(TaskProgressUpdate update) {
// Ignore if the task is cancled or completed
// Ignore if the task is canceled or completed
if (update.progress == downloadFailed ||
update.progress == downloadCompleted) {
return;
+1 -1
View File
@@ -47,7 +47,7 @@ class AuthNotifier extends StateNotifier<AuthState> {
}
/// Validating the url is the alternative connecting server url without
/// saving the infomation to the local database
/// saving the information to the local database
Future<bool> validateAuxilaryServerUrl(String url) async {
try {
final validEndpoint = await _apiService.resolveEndpoint(url);
@@ -6,7 +6,7 @@ import 'package:permission_handler/permission_handler.dart';
class GalleryPermissionNotifier extends StateNotifier<PermissionStatus> {
GalleryPermissionNotifier()
: super(PermissionStatus.denied) // Denied is the intitial state
: super(PermissionStatus.denied) // Denied is the initial state
{
// Sets the initial state
getGalleryPermissionStatus();