|
|
|
@ -6,7 +6,6 @@ import io.realm.Sort |
|
|
|
import net.pokeranalytics.android.model.realm.Location |
|
|
|
import net.pokeranalytics.android.model.realm.Location |
|
|
|
import net.pokeranalytics.android.model.realm.Session |
|
|
|
import net.pokeranalytics.android.model.realm.Session |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SessionRow |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SessionRow |
|
|
|
import timber.log.Timber |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Returns all significant parameters concatenated in a String |
|
|
|
* Returns all significant parameters concatenated in a String |
|
|
|
@ -79,12 +78,6 @@ class FavoriteSessionFinder { |
|
|
|
val favoriteSession = |
|
|
|
val favoriteSession = |
|
|
|
FavoriteSessionFinder.favoriteSession(newSession.type, location, newSession.realm, context) |
|
|
|
FavoriteSessionFinder.favoriteSession(newSession.type, location, newSession.realm, context) |
|
|
|
|
|
|
|
|
|
|
|
Timber.d(">>> fav null? = ${favoriteSession == null}") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Timber.d(">>> game = ${favoriteSession?.game?.name}") |
|
|
|
|
|
|
|
Timber.d(">>> bb = ${favoriteSession?.cgBigBlind?.toString()}") |
|
|
|
|
|
|
|
Timber.d(">>> duration = ${favoriteSession?.netDuration}") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
favoriteSession?.let { fav -> |
|
|
|
favoriteSession?.let { fav -> |
|
|
|
|
|
|
|
|
|
|
|
newSession.limit = fav.limit |
|
|
|
newSession.limit = fav.limit |
|
|
|
|