Commit 3017ba6
actions [nfc]: Namespace actions as statics on a ZulipAction class
This makes it explicit at each call site that the method being called
is an action, not (for example) an API endpoint binding. The
difference is important in particular because it affects how --
really, whether -- the caller should handle errors.
See discussion from when the similarity in appearance to API endpoint
bindings caused confusion:
https://chat.zulip.org/#narrow/channel/516-mobile-dev-help/topic/.23F1317.20showErrorDialog/near/20805701 parent 4f438d3 commit 3017ba6
File tree
4 files changed
+207
-206
lines changed- lib/widgets
- test/widgets
4 files changed
+207
-206
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
| 799 | + | |
| 800 | + | |
800 | 801 | | |
801 | 802 | | |
802 | 803 | | |
| |||
0 commit comments