i18n: make localization context non-global
- Simplify Localization{Context,Manager} to just Localization
- Fixed a bunch of lifetime issueo
- Removed all Arcs and Locks
- Removed globals
* widgets now need access to &mut Localization for i18n
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -323,6 +323,7 @@ pub fn render_note_contents(
|
||||
&supported_medias,
|
||||
carousel_id,
|
||||
trusted_media,
|
||||
note_context.i18n,
|
||||
);
|
||||
ui.add_space(2.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user