Skip to content

Commit ce32172

Browse files
authored
chore: use Dummy screen for betting for now
1 parent fead793 commit ce32172

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

apps/flipcash/app/src/main/kotlin/com/flipcash/app/internal/ui/navigation/AppScreenContent.kt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import com.flipcash.app.menu.MenuScreen
1919
import com.flipcash.app.myaccount.MyAccountScreen
2020
import com.flipcash.app.permissions.CameraPermissionScreen
2121
import com.flipcash.app.permissions.NotificationPermissionScreen
22-
import com.flipcash.app.pools.PoolBettingScreen
2322
import com.flipcash.app.pools.create.PoolCustomBidEntryScreen
2423
import com.flipcash.app.pools.PoolCreateFlow
2524
import com.flipcash.app.pools.PoolListScreen
@@ -33,7 +32,7 @@ import com.flipcash.app.withdrawal.WithdrawalConfirmationScreen
3332
import com.flipcash.app.withdrawal.WithdrawalDestinationScreen
3433
import com.flipcash.app.withdrawal.WithdrawalEntryScreen
3534
import com.flipcash.app.withdrawal.WithdrawalFlow
36-
35+
import com.getcode.navigation.modal.ModalScreen
3736

3837
@Composable
3938
internal fun AppScreenContent(content: @Composable () -> Unit) {
@@ -100,7 +99,8 @@ internal fun AppScreenContent(content: @Composable () -> Unit) {
10099
}
101100

102101
register<NavScreenProvider.HomeScreen.Pools.ChoiceSelection> {
103-
PoolBettingScreen(it.poolId, it.postCreate)
102+
// PoolBettingScreen(it.poolId, it.postCreate)
103+
DummyModal()
104104
}
105105

106106
register<NavScreenProvider.HomeScreen.CurrencySelection> {
@@ -160,4 +160,18 @@ internal fun AppScreenContent(content: @Composable () -> Unit) {
160160
PreloadBalance()
161161

162162
content()
163+
}
164+
165+
private class Dummy: Screen {
166+
@Composable
167+
override fun Content() {
168+
169+
}
170+
}
171+
172+
private class DummyModal: ModalScreen {
173+
@Composable
174+
override fun ModalContent() {
175+
176+
}
163177
}

0 commit comments

Comments
 (0)