diff options
author | 2017-12-27 13:09:17 +0100 | |
---|---|---|
committer | 2017-12-27 13:09:17 +0100 | |
commit | 150cfe764aeb9e93341ba2f231fd121fe85472af (patch) | |
tree | bc398a878ec736f666502af983160aa7829a7a3d /src/containers/settings/EditServiceScreen.js | |
parent | Merge branch 'develop' into feature/icon-upload (diff) | |
download | ferdium-app-150cfe764aeb9e93341ba2f231fd121fe85472af.tar.gz ferdium-app-150cfe764aeb9e93341ba2f231fd121fe85472af.tar.zst ferdium-app-150cfe764aeb9e93341ba2f231fd121fe85472af.zip |
First working draft of icon upload
Diffstat (limited to 'src/containers/settings/EditServiceScreen.js')
-rw-r--r-- | src/containers/settings/EditServiceScreen.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/containers/settings/EditServiceScreen.js b/src/containers/settings/EditServiceScreen.js index 8827896ef..8d3a268ad 100644 --- a/src/containers/settings/EditServiceScreen.js +++ b/src/containers/settings/EditServiceScreen.js | |||
@@ -106,10 +106,11 @@ export default class EditServiceScreen extends Component { | |||
106 | value: !service.isMuted, | 106 | value: !service.isMuted, |
107 | default: true, | 107 | default: true, |
108 | }, | 108 | }, |
109 | icon: { | 109 | customIcon: { |
110 | label: intl.formatMessage(messages.icon), | 110 | label: intl.formatMessage(messages.icon), |
111 | value: service.icon, | 111 | value: service.hasCustomIcon ? service.icon : false, |
112 | default: true, | 112 | default: null, |
113 | type: 'file', | ||
113 | }, | 114 | }, |
114 | }, | 115 | }, |
115 | }; | 116 | }; |