1
0
mirror of https://gitlab.com/ceda_ei/sonzai.git synced 2025-12-24 17:40:05 +01:00

Add basic working model using react-native-tab-view.

This commit is contained in:
2020-03-26 04:05:50 +05:30
parent 1dcc917825
commit 6a6795c7fb
4 changed files with 22 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ function Subjects({ theme, subjects, addSubject, removeSubject }) {
setShowDialog(false);
}
return (
<Portal.Host><ScrollView>
<Portal.Host><ScrollView style={{ backgroundColor: theme.colors.background }}>
{subjects.length === 0 ?
<Text style={style.text}>
No Subjects added. Press + to add a subject.