处理点击区域过小问题

This commit is contained in:
renhaoting 2026-01-12 10:24:49 +08:00
parent c55cf6baf0
commit 89ced0be17
2 changed files with 3 additions and 2 deletions

View File

@ -85,7 +85,7 @@ class TasksFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnTab
override fun ViewBinding.initViews() {
with(binding) {
setOnClickBatch(ivGotoDailySign, llTaskBenefit, llTaskWatchAd, llTaskGame,
llTaskZerobuy, tvWatchVideoForConvertGoldToCash, tvWithdraw) {
llTaskZerobuy, flConvertGold2Cash, tvWithdraw) {
when(this) {
ivGotoDailySign->{
if (!TaskManager.instance().dailySignStatus().isDailySignAllOperationDone()) {
@ -112,7 +112,7 @@ class TasksFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnTab
gotoZeroBuy()
}
tvWatchVideoForConvertGoldToCash->{
flConvertGold2Cash->{
WatchAdDialog(requireActivity(), VidiConst.WATCH_AD_FOR_CONVERT_GOLD_2_CASH, WatchAdDialog.FROM_CONVERT_GOLD_TO_CASH, null).show()
}

View File

@ -83,6 +83,7 @@
<FrameLayout
android:id="@+id/fl_convert_gold_2_cash"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"