Uninteresting

od
Laurent 6 years ago
parent fa2e351cfe
commit f605b2ada7
  1. 16
      app/src/main/java/net/pokeranalytics/android/PokerAnalyticsApplication.kt

@ -76,15 +76,13 @@ class PokerAnalyticsApplication : Application() {
if (BuildConfig.DEBUG) {
Timber.d("UserPreferences.defaultCurrency: ${UserDefaults.currency.symbol}")
this.createFakeSessions()
// this.createFakeSessions()
}
CashGameOptimalDurationCalculator.start(true) {
val hours = it / 3600 / 1000
Timber.d("Optimal duration = ${it}, $hours")
}
// CashGameOptimalDurationCalculator.start(true) {
// val hours = it / 3600 / 1000
// Timber.d("Optimal duration = ${it}, $hours")
// }
Patcher.patchAll(this.applicationContext)
@ -99,9 +97,9 @@ class PokerAnalyticsApplication : Application() {
val sessionsCount = realm.where<Session>().count()
realm.close()
if (sessionsCount < 1000) {
if (sessionsCount < 10) {
GlobalScope.launch {
FakeDataManager.createFakeSessions(500)
FakeDataManager.createFakeSessions(400)
}
}

Loading…
Cancel
Save