This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix inline predictive text and keyboard suggestion toolbar use cases. #890
Fix inline predictive text and keyboard suggestion toolbar use cases. #890
Changes from 14 commits
5239d95
817a9b1
0eb0577
3517e84
b447ad1
56c24e3
ba64d68
2a37312
e1e3e94
a0e22cc
fc41527
3b49f18
c418d63
d0a6acc
00e9667
9d538c6
2a15124
209c73a
c524832
84bb1d0
865f967
7314be8
fda08e0
e637ecb
eb70a6c
f9d1592
df0275c
c2a4783
deb7c2c
51b2090
b143872
0c93ce0
49893ef
2f97a0e
f815b1c
9961ceb
c9c9e86
2f6e24b
eb264df
31d32b3
9baac8e
44edc08
ee0795e
d5bc8bd
13f6cda
bf53631
81d7d8f
ad8d163
1f06539
c7cd881
a961188
10942c6
282f746
dbafe83
9e810c8
a499178
3fc7e64
8f2a68b
0045c3b
7868e2e
f11702e
14f1889
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we still need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is unless we have a sensible way to reduce the complexity of the function, the warning still exists when I remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay I see then I would suggest replacing it with
// swiftlint:disable:next cyclomatic_complexity
which will only suppress the next warning, this line may disable the warning everywhere in the codebase