Skip to content

Commit

Permalink
bug fix (copying from history)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dheeraj-Reddy-Mallapu committed Feb 6, 2023
1 parent a7d8658 commit 3668491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/calculator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class _CalculatorState extends State<Calculator> {
return ListTile(
onTap: () {
setState(() {
input = _journals[idx]['que'];
answer = _journals[idx]['ans'];
input = _journals[revIdx]['que'];
answer = _journals[revIdx]['ans'];
});
Navigator.pop(context);
ScaffoldMessenger.of(context).showSnackBar(
Expand Down

0 comments on commit 3668491

Please sign in to comment.