|
|
|
|
@ -154,13 +154,13 @@ open class Session : RealmObject(), SessionInterface, DynamicRowDelegate, Displa |
|
|
|
|
// Todo: Localize & set real data |
|
|
|
|
when (row) { |
|
|
|
|
SessionRow.GAME -> { |
|
|
|
|
data.add(BottomSheetData(game, "", 0, SettingRow.GAME.items(realm))) |
|
|
|
|
data.add(BottomSheetData(game, "", 0, DataList.GAME.items(realm))) |
|
|
|
|
} |
|
|
|
|
SessionRow.LOCATION -> { |
|
|
|
|
data.add(BottomSheetData(location, "", 0, SettingRow.LOCATION.items(realm))) |
|
|
|
|
data.add(BottomSheetData(location, "", 0, DataList.LOCATION.items(realm))) |
|
|
|
|
} |
|
|
|
|
SessionRow.BANKROLL -> { |
|
|
|
|
data.add(BottomSheetData(bankroll, "", 0, SettingRow.BANKROLL.items(realm))) |
|
|
|
|
data.add(BottomSheetData(bankroll, "", 0, DataList.BANKROLL.items(realm))) |
|
|
|
|
} |
|
|
|
|
SessionRow.DATE -> { |
|
|
|
|
data.add(BottomSheetData(timeFrame?.startDate, "Start date")) |
|
|
|
|
|