Skip to content

Commit

Permalink
Merge branch 'feature/remove-about-option' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sduduzog committed Sep 24, 2021
2 parents 27b40d1 + 05f1039 commit d96ce31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ class OptionsFragment : BaseFragment() {

override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)
options_fragment_about_slim.setOnClickListener {
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.slim_url)))
launchActivity(it, intent)
}
options_fragment_device_settings.setOnClickListener {
val intent = Intent(Settings.ACTION_SETTINGS)
launchActivity(it, intent)
Expand Down
25 changes: 6 additions & 19 deletions app/src/main/res/layout/options_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,20 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:id="@+id/options_fragment_about_slim"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginLeft="24dp"
android:layout_marginTop="32dp"
android:text="@string/options_fragment_about_slim"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="@dimen/_20ssp"
app:layout_constraintBottom_toTopOf="@+id/options_fragment_device_settings"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView5"
app:layout_constraintVertical_bias="0.17000002"
app:layout_constraintVertical_chainStyle="packed" />

<TextView
android:id="@+id/options_fragment_device_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:text="@string/options_fragment_device_settings"
android:textAppearance="@style/TextAppearance.AppCompat"
android:layout_marginStart="24dp"
android:layout_marginTop="32dp"
android:textSize="@dimen/_20ssp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@+id/options_fragment_change_theme"
app:layout_constraintStart_toStartOf="@+id/options_fragment_about_slim"
app:layout_constraintTop_toBottomOf="@+id/options_fragment_about_slim" />
app:layout_constraintVertical_bias="0.17000002"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintTop_toBottomOf="@+id/textView5" />

<TextView
android:id="@+id/options_fragment_change_theme"
Expand Down

0 comments on commit d96ce31

Please sign in to comment.