Some refactoring in the Shareplugin:
Extracted some parts into separate methods
Extracted notification into separate class
Some optical tweaks on notifications
albertvaka |
KDE Connect |
Some refactoring in the Shareplugin:
Extracted some parts into separate methods
Extracted notification into separate class
Some optical tweaks on notifications
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Looks much better! Ship it!
src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java | ||
---|---|---|
258 ↗ | (On Diff #16467) | It seems that the successful variable is not needed, you can pass false to setFinished when called from within the 'catch' block. |