Skip to content

Commit

Permalink
Fix bugs, introduced by refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Sep 20, 2016
1 parent 1497502 commit 02ad255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ private void initManagers() {
skipText != null, slides.size());
indicatorManager = configuration.getIndicatorManager();

if (indicatorManager == null) {
if (showIndicator) {
indicatorManager = new DotIndicatorManager();
}
} else {
if (indicatorManager == null && showIndicator) {
indicatorManager = new DotIndicatorManager();
}

if (indicatorManager != null) {
indicatorContainer.addView(indicatorManager.init(LayoutInflater.from(this),
indicatorContainer, slides.size()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @author Ruben Gees
*/
public final class IntroductionConfiguration {
private static IntroductionConfiguration INSTANCE = new IntroductionConfiguration();
private static IntroductionConfiguration INSTANCE;

private OnSlideListener onSlideListener;
private ViewPager.PageTransformer pageTransformer;
Expand Down

0 comments on commit 02ad255

Please sign in to comment.