Skip to content

Commit

Permalink
Make urlAfterRedirects nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Oct 14, 2024
1 parent 2491ca8 commit 0f2741d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.wordpress.android.login

data class ConnectSiteInfoResult @JvmOverloads constructor(
val url: String,
val urlAfterRedirects: String,
val urlAfterRedirects: String?,
val hasJetpack: Boolean,
/**
* Whether the site is suspended on WordPress.com and can't be connected using Jetpack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public void onFetchedConnectSiteInfo(OnConnectSiteInfoChecked event) {
mLoginListener.gotConnectSiteInfo(
new ConnectSiteInfoResult(
mRequestedSiteAddress,
mRequestedSiteAddress,
null,
mConnectSiteInfoCalculatedHasJetpack,
true
)
Expand Down

0 comments on commit 0f2741d

Please sign in to comment.