fix(ui): Conditionally set watch state string
This commit is contained in:
parent
8712dbb9de
commit
64bc2821f9
@ -68,7 +68,9 @@ class DetailsPage extends StatelessWidget {
|
||||
),
|
||||
|
||||
DropdownSelector<MediumTrackingState>(
|
||||
title: 'Watchstate',
|
||||
title: state.trackingType == TrackingMediumType.anime ?
|
||||
'Watch state' :
|
||||
'Read state',
|
||||
onChanged: (MediumTrackingState newState) {
|
||||
if (state.trackingType == TrackingMediumType.anime) {
|
||||
context.read<DetailsBloc>().add(
|
||||
|
Loading…
Reference in New Issue
Block a user