Skip to content

Commit 49ff1b4

Browse files
Dillon Nysdnys1
authored andcommitted
chore: Flutter 3 fixes
1 parent 6cf7a93 commit 49ff1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/amplify_datastore/android/src/main/kotlin/com/amazonaws/amplify/amplify_datastore/AmplifyDataStorePlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ class AmplifyDataStorePlugin : FlutterPlugin, MethodCallHandler {
525525
latch.countDown()
526526
}
527527

528-
override fun error(code: String?, msg: String?, details: Any?) {
528+
override fun error(code: String, msg: String?, details: Any?) {
529529
LOG.error("Failed to resolve query predicate. Reverting to original query predicate.")
530530
latch.countDown()
531531
}
@@ -751,7 +751,7 @@ class AmplifyDataStorePlugin : FlutterPlugin, MethodCallHandler {
751751
}
752752
}
753753

754-
override fun error(errorCode: String?, errorMessage: String?, errorDetails: Any?) {
754+
override fun error(errorCode: String, errorMessage: String?, errorDetails: Any?) {
755755
LOG.error("Error in conflict handler: $errorCode $errorMessage Applying default conflict resolution, applyRemote.")
756756
onDecision.accept(DataStoreConflictHandler.ConflictResolutionDecision.applyRemote())
757757
}

0 commit comments

Comments
 (0)