Remove unused logPath method
This commit is contained in:
parent
8ad2aa4e1a
commit
e17822e2f7
@ -18,7 +18,6 @@ package ui
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@ -138,10 +137,6 @@ func NewRoomView(parent *MainView, room *rooms.Room) *RoomView {
|
|||||||
return view
|
return view
|
||||||
}
|
}
|
||||||
|
|
||||||
func (view *RoomView) logPath(dir string) string {
|
|
||||||
return filepath.Join(dir, fmt.Sprintf("%s.gmxlog", view.Room.ID))
|
|
||||||
}
|
|
||||||
|
|
||||||
func (view *RoomView) SetInputChangedFunc(fn func(room *RoomView, text string)) *RoomView {
|
func (view *RoomView) SetInputChangedFunc(fn func(room *RoomView, text string)) *RoomView {
|
||||||
view.input.SetChangedFunc(func(text string) {
|
view.input.SetChangedFunc(func(text string) {
|
||||||
fn(view, text)
|
fn(view, text)
|
||||||
|
Loading…
Reference in New Issue
Block a user