mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-04-16 02:47:22 +02:00
removing the infobubble setting
This commit is contained in:
parent
366ab783ef
commit
502155b48e
@ -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() ?: "")
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user