mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Refactoring
This commit is contained in:
parent
37660e8de0
commit
16a2f7f6e9
1 changed files with 5 additions and 2 deletions
|
@ -258,8 +258,11 @@ public class FragmentFolders extends FragmentBase {
|
|||
super.onActivityCreated(savedInstanceState);
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
grpHintActions.setVisibility(prefs.getBoolean("folder_actions", false) ? View.GONE : View.VISIBLE);
|
||||
grpHintSync.setVisibility(prefs.getBoolean("folder_sync", false) ? View.GONE : View.VISIBLE);
|
||||
boolean folder_actions = prefs.getBoolean("folder_actions", false);
|
||||
boolean folder_sync = prefs.getBoolean("folder_sync", false);
|
||||
|
||||
grpHintActions.setVisibility(folder_actions ? View.GONE : View.VISIBLE);
|
||||
grpHintSync.setVisibility(folder_sync ? View.GONE : View.VISIBLE);
|
||||
|
||||
DB db = DB.getInstance(getContext());
|
||||
|
||||
|
|
Loading…
Reference in a new issue