Add note about b/221643630

pull/1837/head
Don Turner 3 years ago
parent 4336b7444a
commit f210a1754a

@ -48,10 +48,11 @@ class SettingsViewModel @Inject constructor(
.stateIn( .stateIn(
scope = viewModelScope, scope = viewModelScope,
// Starting eagerly means the user data is ready when the SettingsDialog is laid out // Starting eagerly means the user data is ready when the SettingsDialog is laid out
// for the first time. Without this the layout is done using the "Loading" text, // for the first time. Without this, due to b/221643630 the layout is done using the
// then replaced with the user editable fields once loaded, however, the layout // "Loading" text, then replaced with the user editable fields once loaded, however,
// height doesn't change meaning all the fields are squashed into a small // the layout height doesn't change meaning all the fields are squashed into a small
// scrollable column. // scrollable column.
// TODO: Change to SharingStarted.WhileSubscribed(5_000) when b/221643630 is fixed
started = SharingStarted.Eagerly, started = SharingStarted.Eagerly,
initialValue = Loading initialValue = Loading
) )

Loading…
Cancel
Save