1
0
mirror of https://gitlab.com/ceda_ei/sonzai.git synced 2025-11-04 17:10:05 +01:00

Replace BottomNavigation with react-native-tab-view.

Squashed commit of the following:

commit e4dd4768b7
Author: Ceda EI <ceda_ei@webionite.com>
Date:   Sat Mar 28 16:45:18 2020 +0530

    Style tab navigation.

commit 6a6795c7fb
Author: Ceda EI <ceda_ei@webionite.com>
Date:   Thu Mar 26 04:05:50 2020 +0530

    Add basic working model using react-native-tab-view.
This commit is contained in:
2020-03-28 18:18:49 +05:30
parent 1dcc917825
commit 6eadc6739f
4 changed files with 73 additions and 11 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.