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

Upgrade to use latest TGD compatible nuget package - 2.0.0-v2-develop.2168 #5

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
50 changes: 23 additions & 27 deletions nfirestore-cli/DatabaseSelector.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions nfirestore-cli/DatabaseSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,20 @@ public DatabaseSelector(Options options)
}
tfEmulator.TextChanged += (s, e) => { options.EmulatorUrl = tfEmulator.Text; };

btnOk.Clicked += (s, e) =>
btnOk.Accept += (s, e) =>
{
Application.RequestStop();
};

btnExit.Clicked += (s, e) =>
btnExit.Accept += (s, e) =>
{
this.Exit = true;
Application.RequestStop();
};

spinnerView.Visible = false;

btnTest.Clicked += (s, e) =>
btnTest.Accept += (s, e) =>
{

spinnerView.Visible = true;
Expand All @@ -100,7 +100,7 @@ public DatabaseSelector(Options options)
{
Application.Invoke(() =>
{
lblError.Text = string.Join('\n',Wrap(ex.Message, lblError.Bounds.Width));
lblError.Text = string.Join('\n',Wrap(ex.Message, lblError.Frame.Width));
lblError.Visible = true;
lblSuccess.Visible = false;
spinnerView.Visible = false;
Expand Down
17 changes: 9 additions & 8 deletions nfirestore-cli/MainWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions nfirestore-cli/NavigationPane.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion nfirestore-cli/Tabs/FirestoreTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ abstract class FirestoreTab : IFirestoreTab

public void SaveAs()
{
var sd = new SaveDialog("Save As");
var sd = new SaveDialog();
sd.Title = "Save As";

sd.Path = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Expand Down
12 changes: 8 additions & 4 deletions nfirestore-cli/TabsPane.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nfirestore-cli/nfirestore-cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="CsvHelper" Version="31.0.3" />
<PackageReference Include="Google.Cloud.Firestore" Version="3.5.1" />
<PackageReference Include="Terminal.Gui" Version="2.0.0-pre.250" />
<PackageReference Include="Terminal.Gui" Version="2.0.0-v2-develop.2168" />
</ItemGroup>

</Project>
Loading