Repository navigation
refactor(main-app): kotlin - #17952
Conversation
76a7a1a to
8ee8aeb
Compare
|
stable22-IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/17952-IT-stable22-13-21 |
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
ed2ef70 to
9661691
Compare
|
stable35-IT test failed, but no output was generated. Maybe a preliminary stage failed. |
| powerManagementService: PowerManagementService, | ||
| backgroundJobManager: BackgroundJobManager, | ||
| clock: Clock, | ||
| viewThemeUtils: ViewThemeUtils?, |
There was a problem hiding this comment.
This is never used, maybe can be removed
| lateinit var clock: Clock | ||
|
|
||
| @Inject | ||
| lateinit var eventBus: EventBus |
There was a problem hiding this comment.
This doesn't seem to be used, I removed it and builds fine
| fun string(@StringRes id: Int, args: Any?): String = getAppContext().getString(id, args) | ||
|
|
||
| @JvmStatic | ||
| fun getAppContext(): Context = appContext!!.get()!! |
There was a problem hiding this comment.
I couldn't not notice this not null assertion, but also the appContext is probably there all the time, so I guess it's fine
9661691 to
cfac208
Compare
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me> # Conflicts: # app/src/main/java/com/owncloud/android/MainApp.kt
cfac208 to
04579ec
Compare
Changes
🤖 AI (if applicable)