linter調整
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
import React from 'react';
|
||||
import {Platform, StatusBar, View} from 'react-native';
|
||||
import React from "react";
|
||||
import { Platform, StatusBar, View } from "react-native";
|
||||
|
||||
export default function StatusbarDetect() {
|
||||
if(Platform.OS == "ios"){
|
||||
return (
|
||||
<StatusBar barStyle="dark-content"/>
|
||||
);
|
||||
}
|
||||
else if(Platform.OS == "android"){
|
||||
return (
|
||||
<View/>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
if (Platform.OS == "ios") {
|
||||
return <StatusBar barStyle="dark-content" />;
|
||||
} else if (Platform.OS == "android") {
|
||||
return <View />;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user