Fix white settings when using light theme
This commit is contained in:
parent
0fa37940c0
commit
7bb7acce16
1 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
// For each, add menus to configure it
|
||||
String username = mPrefs.getAccountUsername(accountId);
|
||||
String domain = mPrefs.getAccountDomain(accountId);
|
||||
LedPreference account = new LedPreference(LinphoneService.instance());
|
||||
LedPreference account = new LedPreference(getActivity());
|
||||
|
||||
if (username == null) {
|
||||
account.setTitle(getString(R.string.pref_sipaccount));
|
||||
|
@ -625,7 +625,7 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
|
||||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
for (final PayloadType pt : lc.getVideoCodecs()) {
|
||||
CheckBoxPreference codec = new CheckBoxPreference(LinphoneService.instance());
|
||||
CheckBoxPreference codec = new CheckBoxPreference(getActivity());
|
||||
codec.setTitle(pt.getMime());
|
||||
|
||||
if (!pt.getMime().equals("VP8")) {
|
||||
|
|
Loading…
Reference in a new issue