|
@@ -9,9 +9,11 @@ import android.view.View
|
|
|
import android.view.ViewGroup
|
|
|
import com.ethosa.ktc.databinding.FragmentAboutAppBinding
|
|
|
|
|
|
+/**
|
|
|
+ * Provides About app fragment behavior.
|
|
|
+ */
|
|
|
class AboutAppFragment : Fragment() {
|
|
|
private var _binding: FragmentAboutAppBinding? = null
|
|
|
-
|
|
|
private val binding get() = _binding!!
|
|
|
|
|
|
override fun onCreateView(
|
|
@@ -23,6 +25,7 @@ class AboutAppFragment : Fragment() {
|
|
|
_binding = FragmentAboutAppBinding.inflate(inflater, container, false)
|
|
|
|
|
|
binding.authorGithub.setOnClickListener {
|
|
|
+ // Go to Github repo
|
|
|
val intent = Intent(Intent.ACTION_VIEW)
|
|
|
intent.data = Uri.parse("https://github.com/ethosa/ktc")
|
|
|
startActivity(intent)
|