Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush-shukla03_infosys committed Jun 26, 2023
1 parent db712e6 commit a9360d9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
3 changes: 0 additions & 3 deletions lib/ui/process_ui/new_process.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ class NewProcess extends StatelessWidget {
child: ElevatedButton(
child: Text("CONTINUE"),
onPressed: () {
// <<<<<<< HEAD
print(context.read<GlobalProvider>().fieldDisplayValues);
// if (context.read<GlobalProvider>().newProcessTabIndex <
// newProcess.screens!.length - 1) {
// context.read<GlobalProvider>().newProcessTabIndex =
// context.read<GlobalProvider>().newProcessTabIndex + 1;
// =======
if (context.read<GlobalProvider>().newProcessTabIndex <
newProcess.screens!.length - 1) {
context.read<GlobalProvider>().newProcessTabIndex =
Expand All @@ -50,7 +48,6 @@ class NewProcess extends StatelessWidget {
// .validate()) {

// }
// >>>>>>> new_registration_ui
}
},
),
Expand Down
15 changes: 0 additions & 15 deletions lib/ui/process_ui/widgets/new_process_language_selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,20 +161,6 @@ class NewProcessLanguageSelection extends StatelessWidget {
),
),
actions: [
// <<<<<<< HEAD
// OutlinedButton(
// onPressed: () {},
// child: Text("CANCEL"),
// ),
// ElevatedButton(
// onPressed: () {
// context.read<GlobalProvider>().fieldDisplayValues={};
// context.read<GlobalProvider>().fieldValues(newProcess);
// Navigator.pushNamed(context, NewProcess.routeName,
// arguments: {"process": newProcess});
// },
// child: Text("SUBMIT"))
// =======
const Divider(),
Row(
children: [
Expand Down Expand Up @@ -202,7 +188,6 @@ class NewProcessLanguageSelection extends StatelessWidget {
)
],
)
// >>>>>>> new_registration_ui
],
);
}
Expand Down
14 changes: 0 additions & 14 deletions lib/ui/process_ui/widgets/new_process_screen_content.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// <<<<<<< HEAD
import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
Expand All @@ -9,9 +8,7 @@ import 'package:registration_client/provider/global_provider.dart';
import 'package:registration_client/ui/process_ui/widgets/custom_checkbox.dart';
import 'package:registration_client/ui/process_ui/widgets/custom_html_box.dart';
import 'package:registration_client/ui/process_ui/widgets/custom_preferred_lang_button.dart';
// =======
import 'dart:developer';
// >>>>>>> new_registration_ui

import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
Expand Down Expand Up @@ -143,17 +140,6 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {

@override
Widget build(BuildContext context) {
// <<<<<<< HEAD
// return Column(
// children: [
// ...screen.fields!.map((e){
// if(e!.inputRequired == true){
// return widgetType(e);
// }
// return Container();
// }).toList(),
// ],
// =======
return context.watch<GlobalProvider>().newProcessTabIndex == 1
?Card(
margin: const EdgeInsets.all(14),
Expand Down

0 comments on commit a9360d9

Please sign in to comment.