Skip to content

Commit

Permalink
Update AddTodo.vue
Browse files Browse the repository at this point in the history
Code cleanup
  • Loading branch information
Alex Woll committed Jun 13, 2018
1 parent 7b4ccb6 commit 5e2479d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/AddTodo.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<view class="text-input-container">
<view class="text-input-wrapper">
<text-input placeholder = 'Enter new todo' v-model="newTodo"/>
<text-input placeholder="Enter new todo" v-model="newTodo"/>
</view>
<touchable-opacity class="add-button" title="Button" :on-press='addTodo' :disabled="(newTodo === '')">
<touchable-opacity class="add-button" title="Button" :on-press="addTodo" :disabled="(newTodo === '')">
<text class="text-color-primary">ADD</text>
</touchable-opacity>
</view>
Expand Down Expand Up @@ -32,7 +32,6 @@ export default {
}
}
</script>
>

<style>
.text-color-primary {
Expand Down

0 comments on commit 5e2479d

Please sign in to comment.