Merge pull request #4641 from evhan55/feature/extensions-wifi-icon

Allow for both bluetooth and internet connection icons in extensions
This commit is contained in:
Evelyn Eastmond authored and GitHub committed 2019-03-13 19:39:57 -04:00
commit 98ec67d728
3 files changed
+15 -7

No files matched your search

@@ -178,6 +178,10 @@
font-weight: bold;
}
.featured-extension-metadata-detail img{
margin-right: 0.25rem;
}
.coming-soon-text {
position: absolute;
background-color: $data-primary;
+6 -6
View File
@@ -72,12 +72,12 @@ class LibraryItemComponent extends React.PureComponent {
<div
className={styles.featuredExtensionMetadataDetail}
>
<img
src={this.props.bluetoothRequired ?
bluetoothIconURL :
internetConnectionIconURL
}
/>
{this.props.bluetoothRequired ? (
<img src={bluetoothIconURL} />
) : null}
{this.props.internetConnectionRequired ? (
<img src={internetConnectionIconURL} />
) : null}
</div>
</div>
) : null}
+5 -1
View File
@@ -163,6 +163,7 @@ export default [
featured: true,
disabled: false,
bluetoothRequired: true,
internetConnectionRequired: true,
launchPeripheralConnectionFlow: true,
useAutoScan: false,
peripheralImage: microbitPeripheralImage,
@@ -192,6 +193,7 @@ export default [
featured: true,
disabled: false,
bluetoothRequired: true,
internetConnectionRequired: true,
launchPeripheralConnectionFlow: true,
useAutoScan: false,
peripheralImage: ev3PeripheralImage,
@@ -221,6 +223,7 @@ export default [
featured: true,
disabled: false,
bluetoothRequired: true,
internetConnectionRequired: true,
launchPeripheralConnectionFlow: true,
useAutoScan: true,
peripheralImage: wedoPeripheralImage,
@@ -250,6 +253,7 @@ export default [
),
featured: true,
disabled: true,
bluetoothRequired: true
bluetoothRequired: true,
internetConnectionRequired: true
}
];