Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

Fix #4757

Somehow I totally forgot to push this… 🙈

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

@nextcloud-android-bot
Copy link
Collaborator

getDelegate().applyDayNight();
if (AppCompatDelegate.getDefaultNightMode() != AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM) {

getDelegate().setLocalNightMode("MODE_NIGHT_YES".equals(preferences.getDarkThemeMode()) ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"MODE_NIGHT_YES" should be a constant

@nextcloud-android-bot
Copy link
Collaborator

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11839.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3
           

See the complete overview on Codacy

@nextcloud-android-bot
Copy link
Collaborator

Codacy

332

Lint

TypemasterPR
Warnings5959
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings104
Security Warnings44
Dodgy code Warnings136
Total407

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings104
Security Warnings44
Dodgy code Warnings136
Total407

@tobiasKaminsky
Copy link
Member Author

CI fail is unrelated

@tobiasKaminsky tobiasKaminsky merged commit fd48163 into master Dec 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the themeFollowOS branch December 4, 2019 05:47
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.10.0 milestone Dec 4, 2019
tobiasKaminsky added a commit that referenced this pull request Dec 5, 2019
adbc1f2 Merge pull request #4940 from nextcloud/changelog-master-stable-3.9.1
e0ec1c1 Add changelog for 3.9.1
9dcb915 [tx-robot] updated from transifex
92510cb Merge pull request #4938 from nextcloud/disableMissingDefaultResource
a894814 disable MissingDefaultResource
dda56de Merge pull request #4933 from nextcloud/appLocking
cb00677 Merge pull request #4926 from nextcloud/deleteChecksFor16
fd48163 Merge pull request #4922 from nextcloud/themeFollowOS
5e687f2 Dark mode: light, dark, follow system
fb69c1b remove all checks for <= JELLY_BEAN as we have this as our new minimum.
683faab [tx-robot] updated from transifex
c3eec47 daily dev 20191204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Obey dark/light setting by OS

4 participants