|
|
@@ -3,7 +3,6 @@ package com.sduduzog.slimlauncher.ui.options
|
|
|
import android.content.Context.MODE_PRIVATE
|
|
|
import android.content.Intent
|
|
|
import android.net.Uri
|
|
|
-import android.os.Build
|
|
|
import android.os.Bundle
|
|
|
import android.provider.Settings
|
|
|
import android.view.LayoutInflater
|
|
|
@@ -34,12 +33,10 @@ class OptionsFragment : BaseFragment() {
|
|
|
val intent = Intent(Settings.ACTION_SETTINGS)
|
|
|
launchActivity(it, intent)
|
|
|
}
|
|
|
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
|
- options_fragment_device_settings.setOnLongClickListener {
|
|
|
- val intent = Intent(Settings.ACTION_HOME_SETTINGS)
|
|
|
- launchActivity(it, intent)
|
|
|
- true
|
|
|
- }
|
|
|
+ options_fragment_device_settings.setOnLongClickListener {
|
|
|
+ val intent = Intent(Settings.ACTION_HOME_SETTINGS)
|
|
|
+ launchActivity(it, intent)
|
|
|
+ true
|
|
|
}
|
|
|
options_fragment_change_theme.setOnClickListener {
|
|
|
val changeThemeDialog = ChangeThemeDialog.getThemeChooser()
|