Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

update buttons

ammarahm-edd4cc6f2e8e16
diff --git a/apps/mobile/src/components/Dialog/DialogButtons.js b/apps/mobile/src/components/Dialog/DialogButtons.js
index 13fd600db..6bc778dc9 100644
--- a/apps/mobile/src/components/Dialog/DialogButtons.js
+++ b/apps/mobile/src/components/Dialog/DialogButtons.js
@@ -14,7 +14,7 @@ const DialogButtons = ({
<Button
onPress={onPressNegative}
fontSize={SIZE.md}
- grayed
+ type="gray"
width="30%"
title={negativeTitle}
/>
@@ -22,6 +22,7 @@ const DialogButtons = ({
onPress={onPressPositive}
fontSize={SIZE.md}
width="30%"
+ type="transparent"
title={positiveTitle}
/>
</View>
diff --git a/apps/mobile/src/components/ExportDialog/index.js b/apps/mobile/src/components/ExportDialog/index.js
index bfe8bf4b6..f5285d2a6 100644
--- a/apps/mobile/src/components/ExportDialog/index.js
+++ b/apps/mobile/src/components/ExportDialog/index.js
@@ -205,7 +205,7 @@ const ExportDialog = () => {
<Button
onPress={close}
width="30%"
- grayed
+ type="gray"
title="Cancel"
fontSize={SIZE.md}
/>
diff --git a/apps/mobile/src/components/RecoveryKeyDialog/index.js b/apps/mobile/src/components/RecoveryKeyDialog/index.js
index 6ead77832..835160ac9 100644
--- a/apps/mobile/src/components/RecoveryKeyDialog/index.js
+++ b/apps/mobile/src/components/RecoveryKeyDialog/index.js
@@ -254,6 +254,7 @@ class RecoveryKeyDialog extends React.Component {
title="I have saved the key."
width="100%"
height={50}
+ type="accent"
onPress={this.close}
/>
<Toast context="local" />
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js
index 928142424..eda6b823c 100644
--- a/apps/mobile/src/components/SimpleList/index.js
+++ b/apps/mobile/src/components/SimpleList/index.js
@@ -167,10 +167,8 @@ const SimpleList = ({
{placeholderData.button && (
<Button
onPress={placeholderData.action}
- color="bg"
title={placeholderData.button}
icon="plus"
- iconColor="accent"
fontSize={SIZE.md}
/>
)}