From d4f9ea47bc073e166cce85643887bc07ef2a9f2a Mon Sep 17 00:00:00 2001 From: randallli Date: Tue, 27 Mar 2018 16:51:40 -0400 Subject: [PATCH] fix build imports and other build errors --- catalog/MDCCatalog/AppDelegate.swift | 1 + components/Cards/examples/CardsCollectionTintingExample.m | 2 +- .../Themes/examples/ThemerCustomSchemePickerController.m | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/catalog/MDCCatalog/AppDelegate.swift b/catalog/MDCCatalog/AppDelegate.swift index d17efe5af..8b00352e5 100644 --- a/catalog/MDCCatalog/AppDelegate.swift +++ b/catalog/MDCCatalog/AppDelegate.swift @@ -20,6 +20,7 @@ import CatalogByConvention import MaterialComponents.MaterialBottomAppBar import MaterialComponents.MDCActivityIndicatorColorThemer +import MaterialComponents.MDCBottomNavigationBarColorThemer import MaterialComponents.MDCBottomAppBarColorThemer import MaterialComponents.MDCButtonBarColorThemer import MaterialComponents.MDCButtonColorThemer diff --git a/components/Cards/examples/CardsCollectionTintingExample.m b/components/Cards/examples/CardsCollectionTintingExample.m index 98fe91503..2ad17c57f 100644 --- a/components/Cards/examples/CardsCollectionTintingExample.m +++ b/components/Cards/examples/CardsCollectionTintingExample.m @@ -16,7 +16,7 @@ #import "CardsCollectionTintingExample.h" #import "MaterialInk.h" -#import "CardTintExampleCell.h" +#import "supplemental/CardTintExampleCell.h" @interface CardsCollectionTintingExample () diff --git a/components/Themes/examples/ThemerCustomSchemePickerController.m b/components/Themes/examples/ThemerCustomSchemePickerController.m index 2e430b798..1cd2f848c 100644 --- a/components/Themes/examples/ThemerCustomSchemePickerController.m +++ b/components/Themes/examples/ThemerCustomSchemePickerController.m @@ -18,6 +18,7 @@ #import "MDCActivityIndicatorColorThemer.h" #import "MDCAlertColorThemer.h" #import "MDCBottomAppBarColorThemer.h" +#import "MaterialBottomAppBar.h" #import "MDCButtonBarColorThemer.h" #import "MDCButtonColorThemer.h" #import "MDCFeatureHighlightColorThemer.h" @@ -187,7 +188,7 @@ static NSString *s_secondaryColorString; toActivityIndicator:[MDCActivityIndicator appearance]]; [MDCAlertColorThemer applyColorScheme:colorScheme]; [MDCBottomAppBarColorThemer applyColorScheme:colorScheme - toBottomAppBarView:MDCBottomAppBarView.appearance]; + toBottomAppBarView:[MDCBottomAppBarView appearance]]; [MDCButtonBarColorThemer applyColorScheme:colorScheme toButtonBar:[MDCButtonBar appearance]]; [MDCButtonColorThemer applyColorScheme:colorScheme toButton:self.previewButton]; [MDCButtonColorThemer applyColorScheme:colorScheme toButton:[MDCButton appearance]];