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: commite4dd4768b7Author: Ceda EI <ceda_ei@webionite.com> Date: Sat Mar 28 16:45:18 2020 +0530 Style tab navigation. commit6a6795c7fbAuthor: 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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user