@@ -7,6 +7,9 @@ import { ArrowLeftIcon } from '@primer/octicons-react';
7
7
import { AppState , SettingsState } from '../../types/reducers' ;
8
8
import { fetchNotifications , updateSetting , logout } from '../actions' ;
9
9
import { FieldCheckbox } from '../components/ui/checkbox' ;
10
+ import { IconAddAccount } from '../../icons/AddAccount' ;
11
+ import { IconLogOut } from '../../icons/Logout' ;
12
+ import { IconQuit } from '../../icons/Quit' ;
10
13
import { updateTrayIcon } from '../utils/comms' ;
11
14
12
15
const isLinux = remote . process . platform === 'linux' ;
@@ -54,10 +57,10 @@ export class SettingsRoute extends React.Component<IProps> {
54
57
}
55
58
56
59
render ( ) {
57
- const { hasMultipleAccounts , settings } = this . props ;
60
+ const { settings } = this . props ;
58
61
59
62
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' ;
61
64
62
65
return (
63
66
< div className = "flex flex-1 flex-col" >
@@ -129,23 +132,23 @@ export class SettingsRoute extends React.Component<IProps> {
129
132
aria-label = "Login with GitHub Enterprise"
130
133
onClick = { this . goToEnterprise . bind ( this ) }
131
134
>
132
- Add Enterprise
135
+ < IconAddAccount className = "w-5 h-5" />
133
136
</ button >
134
137
135
138
< button
136
139
className = { footerButtonClass }
137
140
aria-label = "Logout"
138
141
onClick = { this . logout . bind ( this ) }
139
142
>
140
- { hasMultipleAccounts ? 'Logout from all accounts' : 'Logout' }
143
+ < IconLogOut className = "w-5 h-5" />
141
144
</ button >
142
145
143
146
< button
144
147
className = { `${ footerButtonClass } mr-0` }
145
148
aria-label = "Quit Gitify"
146
149
onClick = { this . quitApp }
147
150
>
148
- Quit
151
+ < IconQuit className = "w-5 h-5" />
149
152
</ button >
150
153
</ div >
151
154
</ div >
0 commit comments