Skip to content

Commit 5b4e616

Browse files
committed
fix: remove unused PlatformTag component and clean up platform labels in documentation
1 parent 1104591 commit 5b4e616

3 files changed

Lines changed: 4 additions & 18 deletions

File tree

docs/platform-specific-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Component = Platform.select({
7272
<Component />;
7373
```
7474

75-
### Detecting the Android version <div className="label android" title="This section is related to Android platform">Android</div>
75+
### Detecting the Android version <div className="label android">Android</div>
7676

7777
On Android, the `Platform` module can also be used to detect the version of the Android Platform in which the app is running:
7878

@@ -86,7 +86,7 @@ if (Platform.Version === 25) {
8686

8787
**Note**: `Version` is set to the Android API version not the Android OS version. To find a mapping please refer to [Android Version History](https://en.wikipedia.org/wiki/Android_version_history#Overview).
8888

89-
### Detecting the iOS version <div className="label ios" title="This section is related to iOS platform">iOS</div>
89+
### Detecting the iOS version <div className="label ios">iOS</div>
9090

9191
On iOS, the `Version` is a result of `-[UIDevice systemVersion]`, which is a string with the current version of the operating system. An example of the system version is "10.3". For example, to detect the major version number on iOS:
9292

website/core/PlatformTag.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

website/versioned_docs/version-0.85/platform-specific-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Component = Platform.select({
7272
<Component />;
7373
```
7474

75-
### Detecting the Android version <div className="label android" title="This section is related to Android platform">Android</div>
75+
### Detecting the Android version <div className="label android">Android</div>
7676

7777
On Android, the `Platform` module can also be used to detect the version of the Android Platform in which the app is running:
7878

@@ -86,7 +86,7 @@ if (Platform.Version === 25) {
8686

8787
**Note**: `Version` is set to the Android API version not the Android OS version. To find a mapping please refer to [Android Version History](https://en.wikipedia.org/wiki/Android_version_history#Overview).
8888

89-
### Detecting the iOS version <div className="label ios" title="This section is related to iOS platform">iOS</div>
89+
### Detecting the iOS version <div className="label ios">iOS</div>
9090

9191
On iOS, the `Version` is a result of `-[UIDevice systemVersion]`, which is a string with the current version of the operating system. An example of the system version is "10.3". For example, to detect the major version number on iOS:
9292

0 commit comments

Comments
 (0)