Update internal registrar to use new API

This commit is contained in:
Sasha Koshka 2024-05-27 16:03:11 -04:00
parent 908dbd0bad
commit b9163ffe39

View File

@ -3,11 +3,10 @@ package registrar
import "git.tebibyte.media/tomo/x"
import "git.tebibyte.media/tomo/tomo"
import "git.tebibyte.media/tomo/tomo/theme"
import "git.tebibyte.media/tomo/nasin/internal/theme/default"
func Init () error {
theme.SetTheme(defaultTheme.Theme())
tomo.SetTheme(defaultTheme.Theme())
tomo.Register(1, x.NewBackend)
return nil
}