Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
Notes
Commits
09b1ba97
Commit
09b1ba97
authored
Apr 01, 2021
by
Stefan Niedermann
Browse files
Fix NPE in settings
parent
c3debd3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/it/niedermann/owncloud/notes/preferences/PreferencesFragment.java
View file @
09b1ba97
...
...
@@ -29,7 +29,6 @@ public class PreferencesFragment extends PreferenceFragmentCompat implements Bra
private
BrandedSwitchPreference
fontPref
;
private
BrandedSwitchPreference
lockPref
;
private
BrandedSwitchPreference
wifiOnlyPref
;
private
BrandedSwitchPreference
brandingPref
;
private
BrandedSwitchPreference
gridViewPref
;
private
BrandedSwitchPreference
preventScreenCapturePref
;
...
...
@@ -118,7 +117,6 @@ public class PreferencesFragment extends PreferenceFragmentCompat implements Bra
fontPref
.
applyBrand
(
mainColor
,
textColor
);
lockPref
.
applyBrand
(
mainColor
,
textColor
);
wifiOnlyPref
.
applyBrand
(
mainColor
,
textColor
);
brandingPref
.
applyBrand
(
mainColor
,
textColor
);
gridViewPref
.
applyBrand
(
mainColor
,
textColor
);
preventScreenCapturePref
.
applyBrand
(
mainColor
,
textColor
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment