Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear previous search fields #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion GitExplorer-iOS/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ class ViewController: UIViewController {

primarySelect.data = Repository.shared.primaryOption
primarySelect.onDataSelect = { command in

/****when you reselect first item, maybe previous search results in "Usage" and "note"
boxes should be cleared and second pull down menu? under "I want to" could reflect the change
changes of options dependent on the first pull down menu
This way you won't have an option of for example, " I want to clone - a new branch"
****/

self.secondarySelect.labelTxt = ""
self.usageInfo.infoText = ""
self.noteInfo.infoText = ""
//
self.secondarySelect.alpha = 1.0
self.secondarySelect.data = Repository.shared.secondaryOptions[command.value]!

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a href="https://www.linkedin.com/in/zoha131/">
<img src="https://img.shields.io/badge/Support-Recommed%2FEndorse%20me%20on%20Linkedin-yellow?style=for-the-badge&logo=linkedin" alt="Recommend me on LinkedIn" /></a>


**this is an awesome app. Sorry I'm practicing
**Git Explorer** is a simple iOS application to search git command on one click. Dedicated to all Software Developers with ❤️.


Expand Down