Skip to content

Commit

Permalink
minor fix for previous changes and push v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Dec 1, 2019
1 parent d52fc29 commit 0816511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (i *I18n) SetDefault(langCode string) bool {
return false
}

if tag, index, conf := Default.matcher.Match(t); conf > language.Low {
if tag, index, conf := i.matcher.Match(t); conf > language.Low {
if l, ok := i.localizer.(interface {
SetDefault(int) bool
}); ok {
Expand Down

0 comments on commit 0816511

Please sign in to comment.