Revert "Generalize url scheme parsing/highlighting (#1008)"
This reverts commit 85610a8311.
This commit is contained in:
parent
85593b519b
commit
eeaadea905
10 changed files with 279 additions and 317 deletions
|
|
@ -24,7 +24,7 @@ import android.widget.LinearLayout
|
|||
import com.keylesspalace.tusky.entity.SearchResults
|
||||
import com.keylesspalace.tusky.entity.Status
|
||||
import com.keylesspalace.tusky.network.MastodonApi
|
||||
import com.keylesspalace.tusky.util.openLink
|
||||
import com.keylesspalace.tusky.util.LinkHelper
|
||||
import retrofit2.Call
|
||||
import retrofit2.Callback
|
||||
import retrofit2.Response
|
||||
|
|
@ -156,7 +156,7 @@ abstract class BottomSheetActivity : BaseActivity() {
|
|||
|
||||
@VisibleForTesting
|
||||
open fun openLink(url: String) {
|
||||
openLink(url, this)
|
||||
LinkHelper.openLink(url, this)
|
||||
}
|
||||
|
||||
private fun showQuerySheet() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue