diff --git a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/CommentsFragment.kt b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/CommentsFragment.kt index cf74c79c885d0a2b6c61ed64d62ea5e7cab8da56..dce725f6627d763fdd29bcddc0b5cae851e83610 100644 --- a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/CommentsFragment.kt +++ b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/CommentsFragment.kt @@ -221,8 +221,8 @@ class CommentsFragment : MainFragment() { Logger.i(TAG, "onAuthorClick: " + c.author.id.value); if(c.author.id.value?.startsWith("polycentric://") ?: false) { - //val navUrl = "https://harbor.social/" + c.author.id.value?.substring("polycentric://".length); - val navUrl = "https://polycentric.io/user/" + c.author.id.value?.substring("polycentric://".length); + val navUrl = "https://harbor.social/" + c.author.id.value?.substring("polycentric://".length); + //val navUrl = "https://polycentric.io/user/" + c.author.id.value?.substring("polycentric://".length); _fragment.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(navUrl))) //_fragment.navigate<BrowserFragment>(navUrl); } diff --git a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt index c7dd930c6b3c6cb5310a902c97ae9a41b2fc018e..461ed123866fb6330c8cd40d8253316a9e55d194 100644 --- a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt +++ b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt @@ -660,8 +660,8 @@ class VideoDetailView : ConstraintLayout { Logger.i(TAG, "onAuthorClick: " + c.author.id.value); if(c.author.id.value?.startsWith("polycentric://") ?: false) { - //val navUrl = "https://harbor.social/" + c.author.id.value?.substring("polycentric://".length); - val navUrl = "https://polycentric.io/user/" + c.author.id.value?.substring("polycentric://".length); + val navUrl = "https://harbor.social/" + c.author.id.value?.substring("polycentric://".length); + //val navUrl = "https://polycentric.io/user/" + c.author.id.value?.substring("polycentric://".length); fragment.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(navUrl))) //_container_content_browser.goto(navUrl); //switchContentView(_container_content_browser);