Skip to content

Commit

Permalink
fix insufficient gem dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Jun 10, 2024
1 parent 18c106f commit 07db867
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class AvatarCustomizationFragment :
}
}
adapter.onShowPurchaseDialog = { item ->
val dialog = PurchaseDialog(requireContext(), item)
val dialog = PurchaseDialog(requireContext(), item, mainActivity)
dialog.show()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class AvatarEquipmentFragment :
}
}
adapter.onShowPurchaseDialog = { item ->
val dialog = PurchaseDialog(requireContext(), item)
val dialog = PurchaseDialog(requireContext(), item, mainActivity)
dialog.show()
}
return super.onCreateView(inflater, container, savedInstanceState)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResultContracts
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.GridLayoutManager
Expand Down Expand Up @@ -91,7 +92,7 @@ class RewardsRecyclerviewFragment : TaskRecyclerViewFragment() {
cardSelectedResult.launch(intent)
}
(recyclerAdapter as? RewardsRecyclerViewAdapter)?.onShowPurchaseDialog = { item, isPinned ->
val dialog = PurchaseDialog(requireContext(), item)
val dialog = PurchaseDialog(requireContext(), item, activity as? AppCompatActivity)
dialog.isPinned = isPinned
dialog.onShopNeedsRefresh = {
viewModel.refreshData { }
Expand Down
8 changes: 8 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ Submit a new Beta Build to Google Play

Deploy a new version to the Google Play

### android upload_to_slack

```sh
[bundle exec] fastlane android upload_to_slack
```

Upload the latest output APK to slack

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Apr 22 16:17:19 CEST 2024
#Mon Jun 10 15:25:21 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NAME=4.4
CODE=7920
CODE=7951

0 comments on commit 07db867

Please sign in to comment.