|
|
|
|
@ -21,6 +21,7 @@ import net.pokeranalytics.android.ui.adapter.RowRepresentableDelegate |
|
|
|
|
import net.pokeranalytics.android.ui.view.RowRepresentable |
|
|
|
|
import net.pokeranalytics.android.ui.view.RowRepresentableEditDescriptor |
|
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SessionRow |
|
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.TransactionRow |
|
|
|
|
|
|
|
|
|
open class BottomSheetFragment : BottomSheetDialogFragment() { |
|
|
|
|
|
|
|
|
|
@ -111,7 +112,7 @@ open class BottomSheetFragment : BottomSheetDialogFragment() { |
|
|
|
|
LiveData.GAME.ordinal, |
|
|
|
|
requestCode = REQUEST_CODE_ADD_NEW_OBJECT |
|
|
|
|
) |
|
|
|
|
SessionRow.BANKROLL -> EditableDataActivity.newInstanceForResult( |
|
|
|
|
SessionRow.BANKROLL, TransactionRow.BANKROLL -> EditableDataActivity.newInstanceForResult( |
|
|
|
|
this, |
|
|
|
|
LiveData.BANKROLL.ordinal, |
|
|
|
|
requestCode = REQUEST_CODE_ADD_NEW_OBJECT |
|
|
|
|
@ -131,6 +132,11 @@ open class BottomSheetFragment : BottomSheetDialogFragment() { |
|
|
|
|
LiveData.TOURNAMENT_FEATURE.ordinal, |
|
|
|
|
requestCode = REQUEST_CODE_ADD_NEW_OBJECT |
|
|
|
|
) |
|
|
|
|
TransactionRow.TYPE -> EditableDataActivity.newInstanceForResult( |
|
|
|
|
this, |
|
|
|
|
LiveData.TRANSACTION_TYPE.ordinal, |
|
|
|
|
requestCode = REQUEST_CODE_ADD_NEW_OBJECT |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
true |
|
|
|
|
} |
|
|
|
|
|