mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
[Setup] Added build.yaml and check.yaml (#1)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
226686eb18
commit
7b3e733b76
112 changed files with 3926 additions and 3784 deletions
|
|
@ -130,7 +130,7 @@ class BookViewerSettingsNotifier extends StateNotifier<BookViewerSettingsModel>
|
|||
}
|
||||
}
|
||||
|
||||
setSavedBrightness() {
|
||||
void setSavedBrightness() {
|
||||
if (state.screenBrightness != null) {
|
||||
ScreenBrightness().setScreenBrightness(state.screenBrightness!);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ class HomeSettingsNotifier extends StateNotifier<HomeSettingsModel> {
|
|||
ref.read(sharedUtilityProvider).homeSettings = value;
|
||||
}
|
||||
|
||||
update(HomeSettingsModel Function(HomeSettingsModel currentState) value) => state = value(state);
|
||||
HomeSettingsModel update(HomeSettingsModel Function(HomeSettingsModel currentState) value) => state = value(state);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,14 +27,14 @@ class SubtitleSettingsNotifier extends StateNotifier<SubtitleSettingsModel> {
|
|||
|
||||
void setOutlineColor(Color e) => state = state.copyWith(outlineColor: e);
|
||||
|
||||
setOutlineThickness(double value) => state = state.copyWith(outlineSize: value);
|
||||
SubtitleSettingsModel setOutlineThickness(double value) => state = state.copyWith(outlineSize: value);
|
||||
|
||||
void resetSettings({SubtitleSettingsModel? value}) => state = value ?? const SubtitleSettingsModel();
|
||||
|
||||
void setFontWeight(FontWeight? value) => state = state.copyWith(fontWeight: value);
|
||||
|
||||
setBackGroundOpacity(double value) =>
|
||||
SubtitleSettingsModel setBackGroundOpacity(double value) =>
|
||||
state = state.copyWith(backGroundColor: state.backGroundColor.withOpacity(value));
|
||||
|
||||
setShadowIntensity(double value) => state = state.copyWith(shadow: value);
|
||||
SubtitleSettingsModel setShadowIntensity(double value) => state = state.copyWith(shadow: value);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class VideoPlayerSettingsProviderNotifier extends StateNotifier<VideoPlayerSetti
|
|||
}
|
||||
}
|
||||
|
||||
setSavedBrightness() {
|
||||
void setSavedBrightness() {
|
||||
if (state.screenBrightness != null) {
|
||||
ScreenBrightness().setScreenBrightness(state.screenBrightness!);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue