Skip to content

FoM専用機能の無効化と更新確認機能の追加#115

Merged
Freeesia merged 1 commit intomasterfrom
feature/fix_fom_with_checkupdate
Aug 31, 2024
Merged

FoM専用機能の無効化と更新確認機能の追加#115
Freeesia merged 1 commit intomasterfrom
feature/fix_fom_with_checkupdate

Conversation

@Freeesia
Copy link
Owner

FoMFilterModule.cs:

  • isTarget フィールドを isEnabled に変更
  • コンストラクタに IsEnabledCorrect チェックを追加
  • ExecutePreTranslate メソッドで isEnabled を使用
  • IsEnabledCorrect プロパティの表示名を変更

SettingsViewModel.cs:

  • ObservableObject を継承
  • hasUpdate フィールドと HasUpdate プロパティを追加
  • UpdateInfo プロパティが HasUpdate に依存
  • Checker_UpdateAvailable メソッドを追加
  • CheckUpdateAsync メソッドを追加
  • BeginEditCancelEditEndEdit メソッドが UpdateAvailable イベントを管理

Program.cs:

  • ダイアログの幅を 600 に設定、SizeToContentHeight に設定

UpdateChecker.cs:

  • CheckAsync メソッドにデフォルト引数を追加

`FoMFilterModule.cs`:
- `isTarget` フィールドを `isEnabled` に変更
- コンストラクタに `IsEnabledCorrect` チェックを追加
- `ExecutePreTranslate` メソッドで `isEnabled` を使用
- `IsEnabledCorrect` プロパティの表示名を変更

`SettingsViewModel.cs`:
- `ObservableObject` を継承
- `hasUpdate` フィールドと `HasUpdate` プロパティを追加
- `UpdateInfo` プロパティが `HasUpdate` に依存
- `Checker_UpdateAvailable` メソッドを追加
- `CheckUpdateAsync` メソッドを追加
- `BeginEdit`、`CancelEdit`、`EndEdit` メソッドが `UpdateAvailable` イベントを管理

`Program.cs`:
- ダイアログの幅を 600 に設定、`SizeToContent` を `Height` に設定

`UpdateChecker.cs`:
- `CheckAsync` メソッドにデフォルト引数を追加
@Freeesia Freeesia merged commit 43e143d into master Aug 31, 2024
@Freeesia Freeesia deleted the feature/fix_fom_with_checkupdate branch August 31, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant