diff --git a/mobile/lib/utils/file_uploader.dart b/mobile/lib/utils/file_uploader.dart index 75b7cb08b8..ad2f7a1062 100644 --- a/mobile/lib/utils/file_uploader.dart +++ b/mobile/lib/utils/file_uploader.dart @@ -82,7 +82,6 @@ class FileUploader { int _uploadCounter = 0; int _videoUploadCounter = 0; late ProcessType _processType; - late bool _isBackground; late SharedPreferences _prefs; // _hasInitiatedForceUpload is used to track if user attempted force upload @@ -104,7 +103,6 @@ class FileUploader { Future init(SharedPreferences preferences, bool isBackground) async { _prefs = preferences; - _isBackground = isBackground; _processType = isBackground ? ProcessType.background : ProcessType.foreground; final currentTime = DateTime.now().microsecondsSinceEpoch;