Skip to content

Commit

Permalink
fix ios recording and enable notifications click to open chat page
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemragab committed Oct 26, 2021
1 parent 1fd5488 commit ac67299
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0"
version: "0.2.0"
vector_math:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions lib/src/utils/custom_widgets/auto_direction.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ class _AutoDirectionState extends State<AutoDirection> {

@override
void didUpdateWidget(AutoDirection oldWidget) {
if (isRTL(oldWidget.text) != isRTL(widget.text)) {
WidgetsBinding.instance!.addPostFrameCallback(
(_) => widget.onDirectionChange!(isRTL(widget.text)));
}
// if (isRTL(oldWidget.text) != isRTL(widget.text)) {
// WidgetsBinding.instance!.addPostFrameCallback(
// (_) => widget.onDirectionChange!(isRTL(widget.text)));
// }
super.didUpdateWidget(oldWidget);
}

Expand Down

0 comments on commit ac67299

Please sign in to comment.