|
|
@ -380,7 +380,6 @@ public class FragmentMessages extends FragmentEx { |
|
|
|
super.onActivityCreated(savedInstanceState); |
|
|
|
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); |
|
|
|
grpSupport.setVisibility(prefs.getBoolean("pro", false) ? View.GONE : View.VISIBLE); |
|
|
|
grpHintActions.setVisibility(prefs.getBoolean("message_actions", false) ? View.GONE : View.VISIBLE); |
|
|
|
|
|
|
|
final DB db = DB.getInstance(getContext()); |
|
|
@ -601,6 +600,13 @@ public class FragmentMessages extends FragmentEx { |
|
|
|
}.load(this, args); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void onResume() { |
|
|
|
super.onResume(); |
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); |
|
|
|
grpSupport.setVisibility(prefs.getBoolean("pro", false) ? View.GONE : View.VISIBLE); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { |
|
|
|
inflater.inflate(R.menu.menu_list, menu); |
|
|
|