public /*async*/ override void ViewDidLoad () { base.ViewDidLoad(); #if DEBUG // addToolAccessibilityLabels(); // addColorAccessibilityLabels(); #endif ScreenName = GAIKeys.ScreenNames.AnnotateSnapshot; #if !UITEST TrapState.Shared.GetAlbumLocalIdentifier(); #endif // var tracker = TrackerService.Shared.CurrentTracker; ConfigureNavBarButtonsForContext(); CurrentTool = Settings.AnnotateTool; CurrentColor = Settings.AnnotateColor; noImageView.Frame = AnnotateView.Bounds; actionButton.Enabled = false; }
partial void barColorClicked (UIBarButtonItem sender) { CurrentColor = (Annotate.Color)Convert.ToInt32(sender.Tag / 2); SetToolbarItems(barTools, true); }