Skip to content

Commit

Permalink
order flutter behind reactNative
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Dec 9, 2024
1 parent 9e8fecd commit b6cd5db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/Constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** Key value should be the same here */
export enum Integration {
flutter = 'flutter',
reactNative = 'reactNative',
flutter = 'flutter',
ios = 'ios',
android = 'android',
cordova = 'cordova',
Expand Down Expand Up @@ -38,12 +38,12 @@ export function getPlatformDescription(type: string): string {

export function getIntegrationDescription(type: string): string {
switch (type) {
case Integration.flutter:
return 'Flutter';
case Integration.android:
return 'Android';
case Integration.reactNative:
return 'React Native';
case Integration.flutter:
return 'Flutter';
case Integration.cordova:
return 'Cordova';
case Integration.electron:
Expand All @@ -65,12 +65,12 @@ export function getIntegrationDescription(type: string): string {

export function mapIntegrationToPlatform(type: string): string | undefined {
switch (type) {
case Integration.flutter:
return 'flutter';
case Integration.android:
return 'android';
case Integration.reactNative:
return 'react-native';
case Integration.flutter:
return 'flutter';
case Integration.cordova:
return 'cordova';
case Integration.electron:
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export async function run(argv: Args) {
clack.select({
message: 'What do you want to set up?',
options: [
{ value: 'flutter', label: 'Flutter' },
{ value: 'reactNative', label: 'React Native' },
{ value: 'flutter', label: 'Flutter' },
{ value: 'ios', label: 'iOS' },
{ value: 'android', label: 'Android' },
{ value: 'cordova', label: 'Cordova' },
Expand Down

0 comments on commit b6cd5db

Please sign in to comment.