[FEATURE REQUEST] Manual removal of local storage#4334
Conversation
c5ffe1a to
ec30fb5
Compare
b05ec0d to
3698f48
Compare
| @Test | ||
| fun `getDownloadedFilesForAccount returns an empty list when datasource returns an empty list`() { | ||
| every { localFileDataSource.getDownloadedFilesForAccount(OC_ACCOUNT_NAME) } returns emptyList() | ||
|
|
||
| val result = ocFileRepository.getDownloadedFilesForAccount(OC_ACCOUNT_NAME) | ||
|
|
||
| assertEquals(emptyList<OCFile>(), result) | ||
|
|
||
| verify(exactly = 1) { localFileDataSource.getDownloadedFilesForAccount(OC_ACCOUNT_NAME) } | ||
| } |
There was a problem hiding this comment.
This is not needed, the result is what the datasource returns, we're not giving it a special treatment in-between
|
Let's QA this one... |
|
QA checks:
|
(2) [WONT FIX]i don't want to look crazy, but the new icon looks like a brush more than a broom, not sure how clear it will be for users. This is how it looks like, any better idea @tbsbdr?:
|
|
as suggested by you: lets stick to the icon you suggested for now and show a dialog to that the user gets reassured within the text dialog, what will happen if he/she proceeds. my perspective is, this icon is just a temporary solution because we don't have a better one as of now. For the future, I can also think about using a "drawer menu" like you suggested and already made for files. This could be a better way to add more actions because we can fit more in it. In a drawer, we can also put in some text to explain what the icons mean. Drawer example from material design |
|
So, the brush-broom icon will be the first approach. We'll work in future improvements |
|
Approved on my side |
bd88dcc to
7650be0
Compare
…ilesForAccount function
…ity, listener in AccountsManagementAdapter and cleanAccount function with the use case
…ions/variables, refactor classes and changes xml
7650be0 to
762ab03
Compare



Related Issues
App: #4174
ReleaseNotesViewModel.ktcreating a newReleaseNote()with String resources (if required)QA
checks performed: #4334 (comment)
Reports: