@@ -510,43 +510,43 @@ private void bottomAppBarOptionAction(int option) {
510
510
private int getBottomAppBarOptionDrawableResource (int option ) {
511
511
switch (option ) {
512
512
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_SUBSCRIPTIONS :
513
- return R .drawable .ic_subscritptions_bottom_app_bar_24dp ;
513
+ return R .drawable .ic_subscriptions_bottom_app_bar_day_night_24dp ;
514
514
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_MULTIREDDITS :
515
- return R .drawable .ic_multi_reddit_24dp ;
515
+ return R .drawable .ic_multi_reddit_day_night_24dp ;
516
516
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_INBOX :
517
- return R .drawable .ic_inbox_24dp ;
517
+ return R .drawable .ic_inbox_day_night_24dp ;
518
518
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_SUBMIT_POSTS :
519
519
return R .drawable .ic_add_day_night_24dp ;
520
520
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_REFRESH :
521
- return R .drawable .ic_refresh_24dp ;
521
+ return R .drawable .ic_refresh_day_night_24dp ;
522
522
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_CHANGE_SORT_TYPE :
523
523
return R .drawable .ic_sort_toolbar_24dp ;
524
524
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_CHANGE_POST_LAYOUT :
525
- return R .drawable .ic_post_layout_24dp ;
525
+ return R .drawable .ic_post_layout_day_night_24dp ;
526
526
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_SEARCH :
527
- return R .drawable .ic_search_24dp ;
527
+ return R .drawable .ic_search_day_night_24dp ;
528
528
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GO_TO_SUBREDDIT :
529
- return R .drawable .ic_subreddit_24dp ;
529
+ return R .drawable .ic_subreddit_day_night_24dp ;
530
530
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GO_TO_USER :
531
- return R .drawable .ic_user_24dp ;
531
+ return R .drawable .ic_user_day_night_24dp ;
532
532
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_RANDOM :
533
- return R .drawable .ic_random_24dp ;
533
+ return R .drawable .ic_random_day_night_24dp ;
534
534
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_HIDE_READ_POSTS :
535
- return R .drawable .ic_hide_read_posts_24dp ;
535
+ return R .drawable .ic_hide_read_posts_day_night_24dp ;
536
536
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_FILTER_POSTS :
537
- return R .drawable .ic_filter_24dp ;
537
+ return R .drawable .ic_filter_day_night_24dp ;
538
538
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_UPVOTED :
539
- return R .drawable .ic_arrow_upward_black_24dp ;
539
+ return R .drawable .ic_arrow_upward_day_night_24dp ;
540
540
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_DOWNVOTED :
541
- return R .drawable .ic_arrow_downward_black_24dp ;
541
+ return R .drawable .ic_arrow_downward_day_night_24dp ;
542
542
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_HIDDEN :
543
- return R .drawable .ic_outline_lock_24dp ;
543
+ return R .drawable .ic_lock_day_night_24dp ;
544
544
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_SAVED :
545
- return R .drawable .ic_outline_bookmarks_24dp ;
545
+ return R .drawable .ic_bookmarks_day_night_24dp ;
546
546
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GO_TO_TOP :
547
- return R .drawable .ic_keyboard_double_arrow_up_24 ;
547
+ return R .drawable .ic_keyboard_double_arrow_up_day_night_24dp ;
548
548
default :
549
- return R .drawable .ic_account_circle_24dp ;
549
+ return R .drawable .ic_account_circle_day_night_24dp ;
550
550
}
551
551
}
552
552
@@ -647,54 +647,54 @@ private void bindView() {
647
647
SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_SUBMIT_POSTS );
648
648
switch (fabOption ) {
649
649
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_REFRESH :
650
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_refresh_24dp );
650
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_refresh_day_night_24dp );
651
651
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_refresh ));
652
652
break ;
653
653
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_CHANGE_SORT_TYPE :
654
654
navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_sort_toolbar_24dp );
655
655
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_change_sort_type ));
656
656
break ;
657
657
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_CHANGE_POST_LAYOUT :
658
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_post_layout_24dp );
658
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_post_layout_day_night_24dp );
659
659
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_change_post_layout ));
660
660
break ;
661
661
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_SEARCH :
662
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_search_24dp );
662
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_search_day_night_24dp );
663
663
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_search ));
664
664
break ;
665
665
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_GO_TO_SUBREDDIT :
666
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_subreddit_24dp );
666
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_subreddit_day_night_24dp );
667
667
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_go_to_subreddit ));
668
668
break ;
669
669
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_GO_TO_USER :
670
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_user_24dp );
670
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_user_day_night_24dp );
671
671
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_go_to_user ));
672
672
break ;
673
673
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_RANDOM :
674
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_random_24dp );
674
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_random_day_night_24dp );
675
675
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_random ));
676
676
break ;
677
677
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_HIDE_READ_POSTS :
678
678
if (accountName .equals (Account .ANONYMOUS_ACCOUNT )) {
679
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_24dp );
679
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_day_night_24dp );
680
680
fabOption = SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_FILTER_POSTS ;
681
681
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_filter_posts ));
682
682
} else {
683
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_hide_read_posts_24dp );
683
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_hide_read_posts_day_night_24dp );
684
684
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_hide_read_posts ));
685
685
}
686
686
break ;
687
687
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_FILTER_POSTS :
688
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_24dp );
688
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_day_night_24dp );
689
689
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_filter_posts ));
690
690
break ;
691
691
case SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_GO_TO_TOP :
692
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_keyboard_double_arrow_up_24 );
692
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_keyboard_double_arrow_up_day_night_24dp );
693
693
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_go_to_top ));
694
694
break ;
695
695
default :
696
696
if (accountName .equals (Account .ANONYMOUS_ACCOUNT )) {
697
- navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_24dp );
697
+ navigationWrapper .floatingActionButton .setImageResource (R .drawable .ic_filter_day_night_24dp );
698
698
fabOption = SharedPreferencesUtils .MAIN_ACTIVITY_BOTTOM_APP_BAR_FAB_FILTER_POSTS ;
699
699
navigationWrapper .floatingActionButton .setContentDescription (getString (R .string .content_description_filter_posts ));
700
700
} else {
0 commit comments