diff options
author | Julian Weigt <julian.weigt@gmail.com> | 2020-04-26 22:36:33 +0300 |
---|---|---|
committer | Julian Weigt <julian.weigt@gmail.com> | 2020-04-26 22:36:33 +0300 |
commit | 12fb6c9076d0f70ef38f104e2bcf703084d85373 (patch) | |
tree | 92442048e33840d540d110ef9b601df72f0aaf2a /ui | |
parent | 2624dde9833769d1f2a19d11c984a6c8ceb4993a (diff) |
remove unnecessary returns
Diffstat (limited to 'ui')
-rw-r--r-- | ui/room-view.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/room-view.go b/ui/room-view.go index e9523d9..0cdc7f1 100644 --- a/ui/room-view.go +++ b/ui/room-view.go @@ -636,12 +636,10 @@ func (view *RoomView) CopyToClipboard(text string, register string) { if err != nil { view.AddServiceMessage(fmt.Sprintf("Clipboard unsupported: %v", err)) view.parent.parent.Render() - return } } else { view.AddServiceMessage(fmt.Sprintf("Clipboard register %v unsupported", register)) view.parent.parent.Render() - return } } |