Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TW-492: Forward still ins tack after forward #527

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

nqhhdev
Copy link
Member

@nqhhdev nqhhdev commented Aug 26, 2023

Screen.Recording.2023-08-28.at.11.20.25.mov
  • Resolved:

Web

Screen.Recording.2023-08-26.at.13.20.46.mov

Android

Screen.Recording.2023-08-26.at.13.29.35.mov

@sherlockvn
Copy link
Contributor

You should add before and after demo, so we can understand the issue better

@@ -1287,3 +1293,8 @@ class ChatController extends State<Chat>
}

enum EmojiPickerType { reaction, keyboard }

class FowardAgr {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this ??

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have copilot and autocomplete please use the full name :))

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove it

Comment on lines 222 to 225
if (state.extra is! ForwardArgument) {
return '${state.fullPath?.replaceAll('forward', '')}';
} else {
return '/rooms/forward';
}
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Early return:

Suggested change
if (state.extra is! ForwardArgument) {
return '${state.fullPath?.replaceAll('forward', '')}';
} else {
return '/rooms/forward';
}
},
if (state.extra is! ForwardArgument) {
return '${state.fullPath?.replaceAll('forward', '')}';
}
return '/rooms/forward';
}
},

@nqhhdev nqhhdev force-pushed the TW-492-forward-still-ins-tack-after-forward branch from 995a0b1 to 8f37ab6 Compare August 28, 2023 04:32
@hoangdat hoangdat merged commit 0e997a5 into main Aug 28, 2023
2 checks passed
@hoangdat hoangdat deleted the TW-492-forward-still-ins-tack-after-forward branch August 30, 2023 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants