Skip to content

Commit c8df74a

Browse files
author
Emmanouil Konstantinidis
committed
Update tray icon if all notifications are read
1 parent 3d66c2e commit c8df74a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/js/components/notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ var Notifications = React.createClass({
126126
{notifications}
127127
{notifications.length ? (
128128
<div className='fork' onClick={this.openBrowser}>
129-
<i className='fa fa-github' /> Star on GitHub
129+
<i className='fa fa-github' /> Star Gitify on GitHub
130130
</div>
131131
): null}
132132
</div>

src/js/stores/notifications.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ var NotificationsStore = Reflux.createStore({
6060

6161
setTimeout(function () {
6262
self.trigger(self._notifications);
63+
self.updateTrayIcon(self._notifications);
6364
}, 800);
6465
},
6566

@@ -72,6 +73,7 @@ var NotificationsStore = Reflux.createStore({
7273

7374
setTimeout(function () {
7475
self.trigger(self._notifications);
76+
self.updateTrayIcon(self._notifications);
7577
}, 800);
7678
}
7779

src/less/style.less

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,8 @@ input {
436436
}
437437

438438
.fork {
439-
background-color: @ThemePrimary;
440-
color: @White;
441-
padding: 5px 0;
442-
font-size: 16px;
439+
padding: 10px 0;
440+
font-size: 18px;
443441
text-align: center;
444442

445443
&:hover {

0 commit comments

Comments
 (0)