| Index: client/samples/swarm/SwarmViews.dart
|
| diff --git a/client/samples/swarm/SwarmViews.dart b/client/samples/swarm/SwarmViews.dart
|
| index 1ca58a790e141264932ac8c521177889e4d8e9f7..e8befeb54fde8a5bbea03f43847cd7376fadcdc5 100644
|
| --- a/client/samples/swarm/SwarmViews.dart
|
| +++ b/client/samples/swarm/SwarmViews.dart
|
| @@ -909,7 +909,7 @@ class SectionView extends CompositeView {
|
| * Hides the loading text, reloads the data sources, and shows them.
|
| */
|
| void showSources() {
|
| - Css.setDisplay(loadingText.node.style, 'none');
|
| + loadingText.node.style.display = 'none';
|
|
|
| // Lazy initialize the data source view.
|
| if (dataSourceView == null) {
|
| @@ -929,11 +929,11 @@ class SectionView extends CompositeView {
|
|
|
| pageNumberView = addChild(new PageNumberView(pageState));
|
|
|
| - Css.setOpacity(node.style, '1');
|
| + node.style.opacity = '1';
|
| } else {
|
| addChild(dataSourceView);
|
| addChild(pageNumberView);
|
| - Css.setOpacity(node.style, '1');
|
| + node.style.opacity = '1';
|
| }
|
|
|
| // TODO(jacobr): get rid of this call to reconfigure when it is not needed.
|
| @@ -945,12 +945,12 @@ class SectionView extends CompositeView {
|
| */
|
| void hideSources() {
|
| if (dataSourceView != null) {
|
| - Css.setOpacity(node.style, '0.6');
|
| + node.style.opacity = '0.6';
|
| removeChild(dataSourceView);
|
| removeChild(pageNumberView);
|
| }
|
|
|
| - Css.setDisplay(loadingText.node.style, 'block');
|
| + loadingText.node.style.display = 'block';
|
| }
|
|
|
| set storyMode(bool inStoryMode) {
|
|
|