Skip to content

Commit

Permalink
fix calling ui locale chagne
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 28, 2023
1 parent 1db2adf commit bc444da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/lib/agama/ui_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class UILocale
def initialize(locale_client, &block)
@client = locale_client
change_locale(@client.ui_locale)
on_ui_locale_change do |locale|
@client.on_ui_locale_change do |locale|
change_locale(locale)
block.call(locale) if block_given?
end
Expand Down

0 comments on commit bc444da

Please sign in to comment.