Skip to content

Commit f79f078

Browse files
chore: format and analyse issues
1 parent 21aefe7 commit f79f078

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: packages/firebase_auth/firebase_auth_platform_interface/lib/src/action_code_settings.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class ActionCodeSettings {
4444

4545
/// Sets an optional Dynamic Link domain.
4646
@Deprecated(
47-
'Firebase Dynamic Links is deprecated and will be shut down as early as August * 2025. '
48-
'Instead, use ActionCodeSettings.linkDomain to set a a custom domain. '
49-
'Learn more at: https://firebase.google.com/support/dynamic-links-faq')
47+
'Firebase Dynamic Links is deprecated and will be shut down as early as August * 2025. '
48+
'Instead, use ActionCodeSettings.linkDomain to set a a custom domain. '
49+
'Learn more at: https://firebase.google.com/support/dynamic-links-faq')
5050
final String? dynamicLinkDomain;
5151

5252
/// The default is false. When true, the action code link will be sent

Diff for: packages/firebase_auth/firebase_auth_platform_interface/test/action_code_settings_test.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ void main() {
3636
// ignore: deprecated_member_use_from_same_package
3737
expect(actionCodeSettings.dynamicLinkDomain,
3838
equals(kMockDynamicLinkDomain));
39-
expect(actionCodeSettings.linkDomain,
40-
equals(kMockLinkDomain));
39+
expect(actionCodeSettings.linkDomain, equals(kMockLinkDomain));
4140
expect(
4241
actionCodeSettings.handleCodeInApp, equals(kMockHandleCodeInApp));
4342
expect(actionCodeSettings.androidPackageName, equals(kMockPackageName));

Diff for: packages/firebase_auth/firebase_auth_web/lib/src/utils/web_utils.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,12 @@ auth_interop.ActionCodeSettings? convertPlatformActionCodeSettings(
223223
Map<String, dynamic> actionCodeSettingsMap = actionCodeSettings.asMap();
224224

225225
auth_interop.ActionCodeSettings webActionCodeSettings;
226-
226+
// ignore: deprecated_member_use
227227
if (actionCodeSettings.dynamicLinkDomain != null) {
228228
webActionCodeSettings = auth_interop.ActionCodeSettings(
229229
url: actionCodeSettings.url.toJS,
230230
handleCodeInApp: actionCodeSettings.handleCodeInApp.toJS,
231+
// ignore: deprecated_member_use
231232
dynamicLinkDomain: actionCodeSettings.dynamicLinkDomain?.toJS,
232233
);
233234
} else {

0 commit comments

Comments
 (0)