Skip to content

Commit 3e96b3b

Browse files
Merge pull request #29 from krharsh17/AppFinalisation
qr and bar code activity complete
2 parents 3eeb44e + 39e6784 commit 3e96b3b

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

app/src/main/java/in/krharsh17/programmersdate/home/bottompager/DetailFragment.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,30 +106,30 @@ public void onClick(View v) {
106106
break;
107107
case taskTypeBar:
108108
if(((MainActivity)getActivity()).checkDistance()){
109-
Intent logoIntent = new Intent(getActivity(), QRActivity.class);
110-
logoIntent.putExtra("currentLevel", currentLevel);
111-
startActivity(logoIntent);
109+
Intent barIntent = new Intent(getActivity(), QRActivity.class);
110+
barIntent.putExtra("currentLevel", currentLevel);
111+
startActivity(barIntent);
112112
}
113113
break;
114114
case taskTypePose:
115115
if(((MainActivity)getActivity()).checkDistance()){
116-
Intent logoIntent = new Intent(getActivity(), PoseActivity.class);
117-
logoIntent.putExtra("currentLevel", currentLevel);
118-
startActivity(logoIntent);
116+
Intent poseIntent = new Intent(getActivity(), PoseActivity.class);
117+
poseIntent.putExtra("currentLevel", currentLevel);
118+
startActivity(poseIntent);
119119
}
120120
break;
121121
case taskTypeQR:
122122
if(((MainActivity)getActivity()).checkDistance()){
123-
Intent logoIntent = new Intent(getActivity(), QRActivity.class);
124-
logoIntent.putExtra("currentLevel", currentLevel);
125-
startActivity(logoIntent);
123+
Intent qrIntent = new Intent(getActivity(), QRActivity.class);
124+
qrIntent.putExtra("currentLevel", currentLevel);
125+
startActivity(qrIntent);
126126
}
127127
break;
128128
case taskTypeTwister:
129129
if(((MainActivity)getActivity()).checkDistance()){
130-
Intent logoIntent = new Intent(getActivity(), AudioActivity.class);
131-
logoIntent.putExtra("currentLevel", currentLevel);
132-
startActivity(logoIntent);
130+
Intent twisterIntent = new Intent(getActivity(), AudioActivity.class);
131+
twisterIntent.putExtra("currentLevel", currentLevel);
132+
startActivity(twisterIntent);
133133
}
134134
break;
135135
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#Sat Jan 11 01:39:25 IST 2020
1+
#Wed Jan 29 23:53:58 IST 2020

0 commit comments

Comments
 (0)