Code cleanup

Release v6.6.0
Cleanup changelog
This commit is contained in:
NerdNumber9
2017-12-08 18:21:26 -05:00
parent 9af552c15a
commit 1a811d0917
6 changed files with 9 additions and 26 deletions

View File

@@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.ui.setting
import android.app.Dialog
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v7.preference.PreferenceScreen
import android.view.View
@@ -43,12 +41,6 @@ class SettingsAboutController : SettingsController() {
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
titleRes = R.string.pref_category_about
switchPreference {
key = "acra.enable"
titleRes = R.string.pref_enable_acra
summaryRes = R.string.pref_acra_summary
defaultValue = true
}
switchPreference {
key = Keys.automaticUpdates
titleRes = R.string.pref_enable_automatic_updates
@@ -69,15 +61,6 @@ class SettingsAboutController : SettingsController() {
isVisible = false
}
}
preference {
title = "Discord"
val url = "https://discord.gg/2dDQBv2"
summary = url
onClick {
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}
}
preference {
titleRes = R.string.version
summary = if (BuildConfig.DEBUG)