Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

@tobiasKaminsky tobiasKaminsky commented Dec 16, 2019

Fix #4997

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

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

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12003.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

Codacy

328

Lint

TypemasterPR
Warnings7373
Errors00

SpotBugs (new)

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

SpotBugs (master)

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

@codecov
Copy link

codecov bot commented Dec 16, 2019

Codecov Report

Merging #5012 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5012      +/-   ##
============================================
+ Coverage     17.64%   17.68%   +0.03%     
  Complexity        3        3              
============================================
  Files           385      385              
  Lines         32679    32679              
  Branches       4594     4594              
============================================
+ Hits           5767     5778      +11     
+ Misses        25988    25978      -10     
+ Partials        924      923       -1
Impacted Files Coverage Δ Complexity Δ
...owncloud/android/ui/activity/SettingsActivity.java 39.38% <100%> (ø) 0 <0> (ø) ⬇️
...cloud/android/ui/activity/FileDisplayActivity.java 20.52% <0%> (+0.24%) 0% <0%> (ø) ⬇️
.../java/com/owncloud/android/utils/DisplayUtils.java 25.73% <0%> (+0.84%) 0% <0%> (ø) ⬇️
...oud/android/ui/activity/SyncedFoldersActivity.java 26.81% <0%> (+1%) 0% <0%> (ø) ⬇️
.../third_parties/daveKoeller/AlphanumComparator.java 83.33% <0%> (+1.19%) 0% <0%> (ø) ⬇️
...om/owncloud/android/utils/FileSortOrderByName.java 17.14% <0%> (+2.85%) 0% <0%> (ø) ⬇️

@AndyScherzinger
Copy link
Member

@tobiasKaminsky I might be wrong here, but this changes the preference name for any build, not just the dev build, right?So I am not sure how this fixes the issue.

@tobiasKaminsky
Copy link
Member Author

Previous setting was boolean, but now we have a string/enum.
As this will cause a typecast exception (which we cannot really handle, as it is internally in Android), I chose to just have a new setting/name.

You are right, that this will also remove the existing value of latest official version.
But I guess this is not that bad, as then users will go to settings and can use the third option, if available.

@tobiasKaminsky tobiasKaminsky merged commit 1656f64 into master Dec 16, 2019
@delete-merged-branch delete-merged-branch bot deleted the darkThemePref branch December 16, 2019 10:48
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.10.0 milestone Dec 16, 2019
@AndyScherzinger
Copy link
Member

tobiasKaminsky added a commit that referenced this pull request Dec 17, 2019
8daa9a2 Merge pull request #5014 from nextcloud/android-10-scoped-storage-workaround
1919a66 Opt-out of scoped storage
1656f64 Merge pull request #5012 from nextcloud/darkThemePref
74ab9a0 Merge pull request #5013 from nextcloud/addLibCommit
0ad5785 add library commit hash for reproducable builds
b065e9b fix dark theme preference for dev version: use different preference name
14a7493 [tx-robot] updated from transifex
a6eb5dd [tx-robot] updated from transifex
669b269 daily dev 20191214
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.

Einstellungen funktioniert immer noch nicht

4 participants