Skip to content

Commit ca10253

Browse files
author
Alexis Mangin
committed
Fix spinner not properly showing up on Android
1 parent 7b767cc commit ca10253

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/MobileApp/src/scenes/Main/scenes/Login/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Login extends Component {
162162
/>
163163
</InputGroup>
164164
{this.state.isLoading ? (
165-
<Spinner size={1} color="#000000" />
165+
<Spinner size="small" color="#000000" />
166166
) : (
167167
<Button
168168
style={styles.button}

client/MobileApp/src/scenes/Main/scenes/Register/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Register extends Component {
157157
/>
158158
</InputGroup>
159159
{this.state.isLoading ? (
160-
<Spinner size={1} color="#000000" />
160+
<Spinner size="small" color="#000000" />
161161
) : (
162162
<Button
163163
style={styles.button}

client/MobileApp/src/scenes/Main/scenes/Users/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const renderList = () => {
3232
const items = usersSelectors.getAll();
3333
if (items.length === 0) {
3434
return (
35-
<Spinner size={1} color="#000000" />
35+
<Spinner size="small" color="#000000" />
3636
);
3737
}
3838

client/MobileApp/src/scenes/Splash/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const styles = StyleSheet.create({
1818
const Splash = () => (
1919
<Container>
2020
<View style={styles.container}>
21-
<Spinner size={1} color="#000000" />
21+
<Spinner size="small" color="#000000" />
2222
</View>
2323
</Container>
2424
);

0 commit comments

Comments
 (0)