Skip to content

Commit 6c59aea

Browse files
BirjuVachhaniSaadArdati
authored andcommitted
Clean up
1 parent beaaa51 commit 6c59aea

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

lib/src/data/data_manager.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ class DataManager {
11131113
);
11141114
}
11151115
} else {
1116-
log('\Layout [$layoutID] has no variables.');
1116+
log('Layout [$layoutID] has no variables.');
11171117
}
11181118

11191119
// Process Conditions

lib/src/functions/functions_repository.dart

+1
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ ${response.body.contains('{') ? const JsonEncoder.withIndent(' ').convert(json.
876876

877877
for (final reaction in filteredReactions) {
878878
// ignore: use_build_context_synchronously
879+
if (!context.mounted) continue;
879880
final future = FunctionsRepository.performAction(
880881
context,
881882
reaction.action,

lib/src/model/sdk_publish_model.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ class SDKPublishModel extends PrivacyBase {
134134
Map<String, dynamic> toJson() => _$SDKPublishModelToJson(this)
135135
..remove('fonts')
136136
..remove('layouts')
137-
..remove('apis')..remove('variables')..remove('conditions');
137+
..remove('apis')
138+
..remove('variables')
139+
..remove('conditions');
138140

139141
/// Converts this instance to a JSON map.
140142
Map<String, dynamic> toFullJson() => _$SDKPublishModelToJson(this);

pubspec.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ dependencies:
2020
sdk: flutter
2121
codelessly_api: 1.6.0
2222
codelessly_json_annotation: 4.8.1
23-
firebase_core: ^2.28.0
24-
firebase_auth: ^4.19.0
25-
cloud_firestore: ^4.16.0
23+
firebase_core: ^2.29.0
24+
firebase_auth: ^4.19.1
25+
cloud_firestore: ^4.16.1
2626
firebase_ui_firestore: ^1.6.2
2727
equatable: ^2.0.5
2828
google_fonts: ^6.2.1
29-
url_launcher: ^6.2.5
29+
url_launcher: ^6.2.6
3030
collection: '>=1.17.0 <2.0.0'
3131
http: '>=1.1.2 <2.0.0'
3232
intl: '>=0.17.0 <1.0.0'
3333
universal_html: ^2.2.4
3434
webview_flutter: ^4.7.0
35-
webview_flutter_android: ^3.15.0
36-
webview_flutter_wkwebview: ^3.12.0
35+
webview_flutter_android: ^3.16.0
36+
webview_flutter_wkwebview: ^3.13.0
3737
webview_flutter_web: ^0.2.2+4
3838
flutter_animation_progress_bar: ^2.3.1
3939
vector_math: ^2.1.4
4040
hive: ^2.2.3
4141
hive_flutter: ^1.1.0
42-
uuid: ^4.3.3
43-
path_provider: ^2.1.2
42+
uuid: ^4.4.0
43+
path_provider: ^2.1.3
4444
provider: ^6.1.2
4545
json_path: ^0.7.1
4646
meta: ">=1.9.0 <2.0.0"
@@ -53,8 +53,8 @@ dev_dependencies:
5353
flutter_test:
5454
sdk: flutter
5555
codelessly_json_serializable: 6.7.1+1
56-
build_runner: ^2.4.8
57-
flutter_lints: ^3.0.1
56+
build_runner: ^2.4.9
57+
flutter_lints: ^3.0.2
5858

5959
flutter:
6060
uses-material-design: true

0 commit comments

Comments
 (0)