fix crash

This commit is contained in:
Phillip Thelen 2021-06-01 10:21:19 +02:00
parent 9ca64e091d
commit e0a94522f4
3 changed files with 17 additions and 6 deletions

View file

@ -149,8 +149,8 @@ android {
buildConfigField "String", "TESTING_LEVEL", "\"production\""
resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW"
versionCode 2950
versionName "3.2.3"
versionCode 2956
versionName "3.2.4"
}
buildFeatures {

View file

@ -63,6 +63,20 @@ class ItemRecyclerFragment : BaseFragment<FragmentItemsBinding>(), SwipeRefreshL
component.inject(this)
}
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
when {
this.isHatching -> {
dialog?.requestWindowFeature(Window.FEATURE_NO_TITLE)
}
this.isFeeding -> {
dialog?.requestWindowFeature(Window.FEATURE_NO_TITLE)
}
else -> {
}
}
return super.onCreateView(inflater, container, savedInstanceState)
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
@ -140,7 +154,6 @@ class ItemRecyclerFragment : BaseFragment<FragmentItemsBinding>(), SwipeRefreshL
when {
this.isHatching -> {
dialog?.requestWindowFeature(Window.FEATURE_NO_TITLE)
binding?.titleTextView?.text = getString(R.string.hatch_with, this.hatchingItem?.text)
binding?.titleTextView?.visibility = View.VISIBLE
binding?.footerTextView?.text = getString(R.string.hatching_market_info)
@ -148,7 +161,6 @@ class ItemRecyclerFragment : BaseFragment<FragmentItemsBinding>(), SwipeRefreshL
binding?.openMarketButton?.visibility = View.VISIBLE
}
this.isFeeding -> {
dialog?.requestWindowFeature(Window.FEATURE_NO_TITLE)
binding?.titleTextView?.text = getString(R.string.dialog_feeding, this.feedingPet?.text)
binding?.titleTextView?.visibility = View.VISIBLE
binding?.footerTextView?.text = getString(R.string.feeding_market_info)

View file

@ -1,3 +1,2 @@
Weve added a countdown to all limited time items! No more guessing when our seasonal Galas may end. Now you can see exactly how much longer you have to get everything you want before times up. We hope you enjoy!
This latest update improves the use of certain skills. Now we will display how much damage you do to a boss right when you use a skill like Brutal Smash. The list of tasks that displays when you use a skill will only show viable tasks as well now. Weve also made some improvements to the mini notifications you receive when getting an item or level up, clarified the reason given for equipment being locked, and fixed a few pesky bugs in the process. Hope you enjoy!