Example #1
0
        /// <summary>
        /// Commit the run
        /// </summary>
        void CommitRun(bool pop)
        {
            var runName = _runNameEditText.Text;

            if (string.IsNullOrWhiteSpace(runName))
            {
                runName = _run.RunNumber;
            }

            RunService.UpdateRunName(_repository, _run, runName);

            if (pop)
            {
                _fragmentActionListener.Pop();
            }
        }