removing the infobubble setting

This commit is contained in:
tibbi 2020-02-14 23:03:33 +01:00
parent 366ab783ef
commit 502155b48e
2 changed files with 3 additions and 12 deletions

View File

@ -65,7 +65,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
launchers_fastscroller.apply { launchers_fastscroller.apply {
updatePrimaryColor() updatePrimaryColor()
updateBubbleColors() updateBubbleColors()
allowBubbleDisplay = config.showInfoBubble allowBubbleDisplay = true
} }
} }
@ -123,7 +123,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
} }
launchers_grid.adapter = adapter launchers_grid.adapter = adapter
launchers_fastscroller.allowBubbleDisplay = config.showInfoBubble launchers_fastscroller.allowBubbleDisplay = true
launchers_fastscroller.setViews(launchers_grid) { launchers_fastscroller.setViews(launchers_grid) {
launchers_fastscroller.updateBubbleText(displayedLaunchers.getOrNull(it)?.getBubbleText() ?: "") launchers_fastscroller.updateBubbleText(displayedLaunchers.getOrNull(it)?.getBubbleText() ?: "")
} }

View File

@ -23,13 +23,12 @@ class SettingsActivity : SimpleActivity() {
setupPurchaseThankYou() setupPurchaseThankYou()
setupCustomizeColors() setupCustomizeColors()
setupUseEnglish() setupUseEnglish()
setupShowInfoBubble()
setupCloseApp() setupCloseApp()
updateTextColors(settings_holder) updateTextColors(settings_holder)
} }
private fun setupPurchaseThankYou() { private fun setupPurchaseThankYou() {
settings_purchase_thank_you_holder.beVisibleIf(config.appRunCount > 10 && !isThankYouInstalled()) settings_purchase_thank_you_holder.beVisibleIf(!isThankYouInstalled())
settings_purchase_thank_you_holder.setOnClickListener { settings_purchase_thank_you_holder.setOnClickListener {
launchPurchaseThankYouIntent() launchPurchaseThankYouIntent()
} }
@ -51,14 +50,6 @@ class SettingsActivity : SimpleActivity() {
} }
} }
private fun setupShowInfoBubble() {
settings_show_info_bubble.isChecked = config.showInfoBubble
settings_show_info_bubble_holder.setOnClickListener {
settings_show_info_bubble.toggle()
config.showInfoBubble = settings_show_info_bubble.isChecked
}
}
private fun setupCloseApp() { private fun setupCloseApp() {
settings_close_app.isChecked = config.closeApp settings_close_app.isChecked = config.closeApp
settings_close_app_holder.setOnClickListener { settings_close_app_holder.setOnClickListener {