Skip to content

Commit

Permalink
Android: Specify URI input type for Urls and ConsoleIps
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Nov 3, 2024
1 parent 9d15710 commit 99158bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Refresher.AndroidApp/PipelineActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ private void InitializePipeline()
view.Hint = $"{input.Name} (e.g. {input.Placeholder})";
view.Tag = input.Id;
view.LayoutParameters = layoutParams;
view.InputType = InputTypes.ClassText | InputTypes.TextVariationNormal;

if (input.Type is StepInputType.Url or StepInputType.ConsoleIp)
view.InputType = InputTypes.ClassText | InputTypes.TextVariationUri;
else
view.InputType = InputTypes.ClassText | InputTypes.TextVariationNormal;

this._pipelineInputs.AddView(view);
}
Expand Down

0 comments on commit 99158bd

Please sign in to comment.