-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[New arch] Remove file #3214
[New arch] Remove file #3214
Conversation
4b4e969
to
a30fea4
Compare
60ab175
to
bedaf3e
Compare
…e step to preserve git history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the conversion from Java to Kotlin is ok, and the rest also looks fine. As in the android-library PR, let's wait for another review and its explicit approval 💯
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RemoveFileUseCase.kt
Show resolved
Hide resolved
if (file.isAvailableLocally) { | ||
containsDown = true | ||
} | ||
// FIXME: 13/10/2020 : New_arch: Av.Offline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe is better to use a TODO
with a New arch
tag so you can filter in the future what's pending? 🍻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I introduced fixmes when we migrated the database, so I can filter them to check what's missing to move to the new arch. The idea is basically the same as TODOS, so I'll keep it this way since I already started using fixmes. Anyway, I will consider your proposal for future refactors 👍
...main/java/com/owncloud/android/presentation/ui/files/removefile/RemoveFilesDialogFragment.kt
Outdated
Show resolved
Hide resolved
...main/java/com/owncloud/android/presentation/ui/files/removefile/RemoveFilesDialogFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Outdated
Show resolved
Hide resolved
3ffae6b
to
2686d8d
Compare
Related Issues
Implements #2864
Library PR (if needed): owncloud/android-library#394