Skip to content

Commit

Permalink
fix(appxaml): Adjust ability for arbitrary app class name
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jan 31, 2023
1 parent 8291704 commit bf06dd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ private void BuildApplicationInitializerBody(IndentedStringBuilder writer, XamlO

writer.AppendLineIndented($"#if __ANDROID__");
#if NETSTANDARD
writer.AppendLineIndented($"global::Uno.Helpers.DrawableHelper.SetDrawableResolver(global::{_xClassName?.Namespace}.App.DrawableResourcesIdResolver.Resolve);");
writer.AppendLineIndented($"global::Uno.Helpers.DrawableHelper.SetDrawableResolver(global::{_xClassName?.Namespace}.{_xClassName?.ClassName}.DrawableResourcesIdResolver.Resolve);");
#else
writer.AppendLineIndented($"global::Uno.Helpers.DrawableHelper.Drawables = typeof(global::{_defaultNamespace}.Resource.Drawable);");
#endif
Expand Down

0 comments on commit bf06dd5

Please sign in to comment.