@@ -357,8 +357,8 @@ protected void onCreate(Bundle savedInstanceState) {
357357 boolean isCurrentThemeNight = (AppCompatDelegate .getDefaultNightMode () == AppCompatDelegate .MODE_NIGHT_YES );
358358
359359 //apply preferred theme
360- if (app .getSettings ().getBoolean (Constants .NIGHT_THEME , false ) && !isCurrentThemeNight
361- && !app .getSettings ().getBoolean (Constants .AUTO_NIGHT_THEME ,false )) {
360+ if (app .getSettings ().getBoolean (Constants .NIGHT_THEME , false ) && !isCurrentThemeNight
361+ && !app .getSettings ().getBoolean (Constants .AUTO_NIGHT_THEME , false )) {
362362 setNightMode (AppCompatDelegate .MODE_NIGHT_YES );
363363 }
364364
@@ -2260,7 +2260,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
22602260 prepareSearchView (menu );
22612261 this .menu = menu ;
22622262 menu .findItem (R .id .autoTheme ).setChecked (app .getSettings ()
2263- .getBoolean (Constants .AUTO_NIGHT_THEME ,false ));
2263+ .getBoolean (Constants .AUTO_NIGHT_THEME , false ));
22642264 return true ;
22652265 }
22662266
@@ -2421,12 +2421,12 @@ public void onDateSet(DatePicker view, int year, int month, int dayOfMonth) {
24212421 alertDialog .setMessage (getString (R .string .logout_title ));
24222422 alertDialog .setPositiveButton (getString (android .R .string .yes ), new DialogInterface .OnClickListener () {
24232423 public void onClick (DialogInterface dialog , int which ) {
2424- logout ();
2424+ logout ();
24252425 }
24262426 });
24272427 alertDialog .setNegativeButton (getString (android .R .string .no ), new DialogInterface .OnClickListener () {
24282428 public void onClick (DialogInterface dialog , int which ) {
2429- dialog .cancel ();
2429+ dialog .cancel ();
24302430 }
24312431 });
24322432 alertDialog .show ();
@@ -2717,6 +2717,7 @@ public MessageListFragment getCurrentMessageList() {
27172717 /**
27182718 * Store floating message header
27192719 * useful when message list get's scrolled
2720+ *
27202721 * @param viewHolder floating message header
27212722 */
27222723 public void setViewHolder (RecyclerView .ViewHolder viewHolder ) {
0 commit comments