@ -98,8 +98,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -98,8 +98,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
mColorMode=mPreferences.getColorModeEnabled();
mColorMode&=!mDarkTheme;
mIconColor=mDarkTheme?
ThemeUtils.getIconDarkThemeColor(context):
ThemeUtils.getIconLightThemeColor(context);
ThemeUtils.getIconDarkThemeColor(context):
ThemeUtils.getIconLightThemeColor(context);
}
@Nullable
@ -184,6 +184,13 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -184,6 +184,13 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
mBus.unregister(this);
}
@Override
publicvoidtabsInitialized(){
if(mTabsAdapter!=null){
mTabsAdapter.notifyDataSetChanged();
}
}
publicvoidreinitializePreferences(){
Activityactivity=getActivity();
if(activity==null){
@ -193,8 +200,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -193,8 +200,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
mColorMode=mPreferences.getColorModeEnabled();
mColorMode&=!mDarkTheme;
mIconColor=mDarkTheme?
ThemeUtils.getIconDarkThemeColor(activity):
ThemeUtils.getIconLightThemeColor(activity);
ThemeUtils.getIconDarkThemeColor(activity):
ThemeUtils.getIconLightThemeColor(activity);
if(mTabsAdapter!=null){
mTabsAdapter.notifyDataSetChanged();
}
@ -356,7 +363,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -356,7 +363,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View