store js app launcher settings
Summary:
Store JS App Launcher preferences in app settings
{F223696894}
Reviewed By: jknoxville
Differential Revision: D18762166
fbshipit-source-id: 9da8205b6929e54c80b645789feae2715d9b1876
This commit is contained in:
committed by
Facebook Github Bot
parent
fe4af064cf
commit
3e7557260c
@@ -24,6 +24,13 @@ export type Settings = {
|
||||
* of Flipper.
|
||||
*/
|
||||
enablePrefetching: Tristate;
|
||||
jsApps: {
|
||||
webAppLauncher: {
|
||||
url: string;
|
||||
height: number;
|
||||
width: number;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
export type Action =
|
||||
@@ -37,6 +44,13 @@ const initialState: Settings = {
|
||||
androidHome: '/opt/android_sdk',
|
||||
enableAndroid: true,
|
||||
enablePrefetching: Tristate.Unset,
|
||||
jsApps: {
|
||||
webAppLauncher: {
|
||||
url: 'http://localhost:8888',
|
||||
height: 600,
|
||||
width: 800,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default function reducer(
|
||||
|
||||
Reference in New Issue
Block a user