@@ -357,8 +357,8 @@ protected void onCreate(Bundle savedInstanceState) {
357
357
boolean isCurrentThemeNight = (AppCompatDelegate .getDefaultNightMode () == AppCompatDelegate .MODE_NIGHT_YES );
358
358
359
359
//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 )) {
362
362
setNightMode (AppCompatDelegate .MODE_NIGHT_YES );
363
363
}
364
364
@@ -2260,7 +2260,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
2260
2260
prepareSearchView (menu );
2261
2261
this .menu = menu ;
2262
2262
menu .findItem (R .id .autoTheme ).setChecked (app .getSettings ()
2263
- .getBoolean (Constants .AUTO_NIGHT_THEME ,false ));
2263
+ .getBoolean (Constants .AUTO_NIGHT_THEME , false ));
2264
2264
return true ;
2265
2265
}
2266
2266
@@ -2421,12 +2421,12 @@ public void onDateSet(DatePicker view, int year, int month, int dayOfMonth) {
2421
2421
alertDialog .setMessage (getString (R .string .logout_title ));
2422
2422
alertDialog .setPositiveButton (getString (android .R .string .yes ), new DialogInterface .OnClickListener () {
2423
2423
public void onClick (DialogInterface dialog , int which ) {
2424
- logout ();
2424
+ logout ();
2425
2425
}
2426
2426
});
2427
2427
alertDialog .setNegativeButton (getString (android .R .string .no ), new DialogInterface .OnClickListener () {
2428
2428
public void onClick (DialogInterface dialog , int which ) {
2429
- dialog .cancel ();
2429
+ dialog .cancel ();
2430
2430
}
2431
2431
});
2432
2432
alertDialog .show ();
@@ -2717,6 +2717,7 @@ public MessageListFragment getCurrentMessageList() {
2717
2717
/**
2718
2718
* Store floating message header
2719
2719
* useful when message list get's scrolled
2720
+ *
2720
2721
* @param viewHolder floating message header
2721
2722
*/
2722
2723
public void setViewHolder (RecyclerView .ViewHolder viewHolder ) {
0 commit comments