diff --git a/assets/images/squirtle.png b/assets/images/squirtle.png
new file mode 100644
index 0000000..26470f7
Binary files /dev/null and b/assets/images/squirtle.png differ
diff --git a/src/App.vue b/src/App.vue
index 4bd3910..6a44a5d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -10,14 +10,18 @@
import HomeScreen from "./screens/homeScreen.vue"
import PregnantDayScreen from "./screens/pregnantDayScreen.vue"
import DiaryScreen from "./screens/diaryScreen.vue"
+ import ChatListScreen from "./screens/chatListScreen.vue"
+ import PrivateChatScreen from "./screens/privateChatScreen.vue"
const AppNavigation = StackNavigator(
{
Home: HomeScreen,
+ ChatList: ChatListScreen,
+ PrivateChat: PrivateChatScreen,
PregnantDay: PregnantDayScreen,
Diary: DiaryScreen
}, {
- initialRouteName: 'Home',
+ initialRouteName: 'ChatList',
headerMode: 'none'
}
)
diff --git a/src/boot.vue b/src/boot.vue
index f82ff06..54cd8cb 100644
--- a/src/boot.vue
+++ b/src/boot.vue
@@ -32,6 +32,7 @@
Sarabun: require('../assets/fonts/Sarabun-Regular.ttf'),
Dancing_script_bold: require('../assets/fonts/DancingScript-Bold.ttf'),
Roboto_medium: require('native-base/Fonts/Roboto_medium.ttf'),
+ Ionicons: require("@expo/vector-icons/fonts/Ionicons.ttf")
})
this.isAppReady = true
} catch (error) {
diff --git a/src/screens/chatListScreen.vue b/src/screens/chatListScreen.vue
new file mode 100644
index 0000000..747aed7
--- /dev/null
+++ b/src/screens/chatListScreen.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+ Kumar Pratik
+ Doing what you like will always keep you happy . .
+
+
+ 3:43 pm
+
+
+
+
+
+
+
+
+
diff --git a/src/screens/homeScreen.vue b/src/screens/homeScreen.vue
index 4da45bc..0e18d31 100644
--- a/src/screens/homeScreen.vue
+++ b/src/screens/homeScreen.vue
@@ -49,7 +49,7 @@
firebase.auth().onAuthStateChanged((user) => {
if (user != null) {
firebase.database().ref('/users/' + user.uid).once('value').then((snapshot) => {
- this.navigation.navigate(snapshot.exists() ? 'Diary' : 'PregnantDay')
+ this.navigation.navigate(snapshot.exists() ? 'ChatList' : 'PregnantDay')
})
}
})
diff --git a/src/screens/privateChatScreen.vue b/src/screens/privateChatScreen.vue
new file mode 100644
index 0000000..6f95b0c
--- /dev/null
+++ b/src/screens/privateChatScreen.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+