fix: App drawer closes upon account selection by mohitsatr · Pull Request #10580 · thunderbird/thunderbird-android

@mohitsatr

@mohitsatr mohitsatr marked this pull request as ready for review

March 9, 2026 08:25

@mohitsatr

@mohitsatr

I feel creating a use case for getting the autoExpandAccount Id is an unnecessary abstraction. Is there a better way to do this?
In fact, we don't even need ID, just the boolean value to let us know whether or not AutoExpandAccount is set.

@wmontwe

I feel creating a use case for getting the autoExpandAccount Id is an unnecessary abstraction. Is there a better way to do this? In fact, we don't even need ID, just the boolean value to let us know whether or not AutoExpandAccount is set.

A separate use case is not needed, you could update the GetDisplayAccounts and the DisplayAccount to hold that property.