|
@@ -9,6 +9,7 @@ import Player from "../components/Player";
|
|
|
import { PlayerConextProvider } from '../components/PlayerReducer'
|
|
|
C.addColor("#d7d7d7", "color-listbg");
|
|
|
import {BTNS_ORG as BTNS} from '../data/dummy';
|
|
|
+import { BackHandler } from 'react-native';
|
|
|
|
|
|
const tabPosition = {x:0, y:0, w:0, h:0};
|
|
|
|
|
@@ -37,6 +38,13 @@ export default (props)=>{
|
|
|
}
|
|
|
|
|
|
useEffect(()=>{
|
|
|
+ BackHandler.addEventListener(
|
|
|
+ 'hardwareBackPress',
|
|
|
+ ()=>{
|
|
|
+ // 소형화 로직
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ )
|
|
|
|
|
|
},[]);
|
|
|
|