diff --git a/app/build.gradle b/app/build.gradle index fceda05..cb8c16d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -89,12 +89,12 @@ dependencies { implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'com.google.android.material:material:1.10.0' + implementation 'com.google.android.material:material:1.11.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2' - implementation 'androidx.navigation:navigation-fragment-ktx:2.7.5' - implementation 'androidx.navigation:navigation-ui-ktx:2.7.5' + implementation 'androidx.navigation:navigation-fragment-ktx:2.7.6' + implementation 'androidx.navigation:navigation-ui-ktx:2.7.6' implementation 'androidx.room:room-runtime:2.6.1' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation 'androidx.preference:preference-ktx:1.2.1' diff --git a/app/src/main/java/io/nekohasekai/sfa/ui/main/SettingsFragment.kt b/app/src/main/java/io/nekohasekai/sfa/ui/main/SettingsFragment.kt index 6e53fb7..32456c6 100644 --- a/app/src/main/java/io/nekohasekai/sfa/ui/main/SettingsFragment.kt +++ b/app/src/main/java/io/nekohasekai/sfa/ui/main/SettingsFragment.kt @@ -100,12 +100,6 @@ class SettingsFragment : Fragment() { binding.configureOverridesButton.setOnClickListener { startActivity(Intent(requireContext(), ProfileOverrideActivity::class.java)) } - binding.communityButton.setOnClickListener { - it.context.launchCustomTab("https://community.sagernet.org/") - } - binding.documentationButton.setOnClickListener { - it.context.launchCustomTab("http://sing-box.sagernet.org/installation/clients/sfa/") - } binding.openDebugButton.setOnClickListener { startActivity(Intent(requireContext(), DebugActivity::class.java)) } diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index e979755..29a8652 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -300,63 +300,6 @@ - - - - - - - - - - - - -