@@ -7,6 +7,9 @@ import { ArrowLeftIcon } from '@primer/octicons-react';
77import { AppState , SettingsState } from '../../types/reducers' ;
88import { fetchNotifications , updateSetting , logout } from '../actions' ;
99import { FieldCheckbox } from '../components/ui/checkbox' ;
10+ import { IconAddAccount } from '../../icons/AddAccount' ;
11+ import { IconLogOut } from '../../icons/Logout' ;
12+ import { IconQuit } from '../../icons/Quit' ;
1013import { updateTrayIcon } from '../utils/comms' ;
1114
1215const isLinux = remote . process . platform === 'linux' ;
@@ -54,10 +57,10 @@ export class SettingsRoute extends React.Component<IProps> {
5457 }
5558
5659 render ( ) {
57- const { hasMultipleAccounts , settings } = this . props ;
60+ const { settings } = this . props ;
5861
5962 const footerButtonClass =
60- 'bg-gray-400 hover:bg -gray-500 hover:text-white rounded py-1 px-2 my-1 mx-2 text-sm focus:outline-none' ;
63+ 'hover:text -gray-500 py-1 px-2 my-1 mx-2 focus:outline-none' ;
6164
6265 return (
6366 < div className = "flex flex-1 flex-col" >
@@ -129,23 +132,23 @@ export class SettingsRoute extends React.Component<IProps> {
129132 aria-label = "Login with GitHub Enterprise"
130133 onClick = { this . goToEnterprise . bind ( this ) }
131134 >
132- Add Enterprise
135+ < IconAddAccount className = "w-5 h-5" />
133136 </ button >
134137
135138 < button
136139 className = { footerButtonClass }
137140 aria-label = "Logout"
138141 onClick = { this . logout . bind ( this ) }
139142 >
140- { hasMultipleAccounts ? 'Logout from all accounts' : 'Logout' }
143+ < IconLogOut className = "w-5 h-5" />
141144 </ button >
142145
143146 < button
144147 className = { `${ footerButtonClass } mr-0` }
145148 aria-label = "Quit Gitify"
146149 onClick = { this . quitApp }
147150 >
148- Quit
151+ < IconQuit className = "w-5 h-5" />
149152 </ button >
150153 </ div >
151154 </ div >
0 commit comments