-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add account loader #7166
Add account loader #7166
Conversation
5e8e551
to
ba04013
Compare
I'm assuming this is in preparation for using the new UI to edit server settings. I feel like this is making things more complicated than they need to be. To edit and check the server settings we don't need to know about the whole account (e.g. account options). So |
The complication is caused by OAuth and handling the authorization state, as it's seperate from the |
152bff8
to
5eb565f
Compare
I simplified the AccountLoader and it is now pretty much standalone not interacting with the |
Build related issues have been moved to #7178. Once merged this could be rebased. |
26566c5
to
59569be
Compare
59569be
to
fbb80e7
Compare
app-feature-preview/src/main/java/app/k9mail/feature/preview/account/InMemoryAccountStore.kt
Show resolved
Hide resolved
app/k9mail/src/test/java/com/fsck/k9/account/AccountLoaderTest.kt
Outdated
Show resolved
Hide resolved
app/k9mail/src/test/java/com/fsck/k9/account/AccountLoaderTest.kt
Outdated
Show resolved
Hide resolved
fbb80e7
to
b0ed49e
Compare
b0ed49e
to
496a64c
Compare
This adds an AccountLoader to retrieve current account information from the legacy code base. This will be used in the account edit feature.