toggleAdaptTtuTheme method
Toggles whether dictionary popup should adapt to the reader's theme.
Implementation
void toggleAdaptTtuTheme() async {
await setPreference<bool>(
key: 'adapt_ttu_theme',
value: !adaptTtuTheme,
);
}
Toggles whether dictionary popup should adapt to the reader's theme.
void toggleAdaptTtuTheme() async {
await setPreference<bool>(
key: 'adapt_ttu_theme',
value: !adaptTtuTheme,
);
}