File tree Expand file tree Collapse file tree
app/src/main/kotlin/com/flipcash/app/internal/ui
shared/session/src/main/kotlin/com/flipcash/app/session/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,8 +121,6 @@ internal fun App(
121121 CompositionLocalProvider (
122122 LocalExternalWalletState provides externalWalletOnRamp
123123 ) {
124- AppPreloads ()
125-
126124 PaymentScaffold {
127125 OnRampAmountScaffold {
128126 BillPlaygroundScaffold {
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import com.flipcash.app.deposit.DepositScreen
3030import com.flipcash.app.discovery.TokenDiscoveryScreen
3131import com.flipcash.app.internal.ui.navigation.decorators.rememberNavMessagingEntryDecorator
3232import com.flipcash.app.lab.LabsScreen
33- import com.flipcash.app.lab.PreloadLabs
3433import com.flipcash.app.lab.StandaloneLabsScreen
3534import com.flipcash.app.login.accesskey.AccessKeyScreen
3635import com.flipcash.app.login.accesskey.PhotoAccessKeyScreen
@@ -70,11 +69,6 @@ import com.getcode.navigation.scenes.ModalBottomSheetSceneStrategy
7069import com.getcode.ui.components.bars.BarManager
7170import dev.theolm.rinku.DeepLink
7271
73- @Composable
74- fun AppPreloads () {
75- PreloadLabs ()
76- }
77-
7872fun appEntryProvider (
7973 resultStateRegistry : NavResultStateRegistry ,
8074 barManager : BarManager ,
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ class RealSessionController @Inject constructor(
253253
254254 private fun startPolling () {
255255 if (userManager.authState.canAccessAuthenticatedApis) {
256- tokenUpdater.poll(scope = scope, frequency = 20 .seconds, startIn = 0 .seconds)
256+ tokenUpdater.poll(scope = scope, frequency = 20 .seconds, startIn = 2 .seconds)
257257 activityFeedUpdater.poll(scope = scope, frequency = 60 .seconds, startIn = 60 .seconds)
258258 profileUpdater.poll(scope = scope, frequency = 60 .seconds, startIn = 0 .seconds)
259259 }
You can’t perform that action at this time.
0 commit comments