Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

fix: remove useless report of faulty token to token dispenser

Description

I noticed AppLounge tries to report a faulty token to the token dispenser when the user is logged in to his own Google account.

This is wrong/useless so I removed it.

I took the occasion to refactor the code and improve the architecture:

  • introduced ReportFaultyTokenUseCase in the domain layer
  • introduced MainUiState
  • don't maintain a AuthData member variable in MainActivityViewModel and use AuthData directly from AppLoungeDataStore

Screenshots

Technical details

Tests

Issues

10 commandments of code review

👪 ❤️ code review guidelines

Edited by Jonathan Klee

Merge request reports

Loading