Skip to content

Commit 89e6031

Browse files
fix(mobile): move setIsLoading inside try block in FriendsScreen
- Moved `setIsLoading(true)` inside the `try` block in `FriendsScreen.js` for consistency with other screens and better error handling symmetry. - Confirmed branch is up-to-date with `main` and conflict-free. Co-authored-by: Devasy <110348311+Devasy@users.noreply.github.com>
1 parent dc89ef6 commit 89e6031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/screens/GroupSettingsScreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ const GroupSettingsScreen = ({ route, navigation }) => {
335335
disabled={!isAdmin}
336336
icon="image"
337337
style={{ marginRight: 12 }}
338-
accessibilityLabel={pickedImage ? "Change group image" : "Upload group image"}
338+
accessibilityLabel="Change group image"
339339
accessibilityRole="button"
340340
>
341341
{pickedImage ? "Change Image" : "Upload Image"}

0 commit comments

Comments
 (0)