mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
chore: Show toast for app restart when User-Agent is changed
This commit is contained in:
parent
6e585fd142
commit
353a002eb5
2 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
|
|||
### Changes
|
||||
- Enable 'Split Tall Images' by default (@Smol-Ame)
|
||||
- Minor visual adjustments
|
||||
- Tell user to restart the app when User-Agent is changed (@NGB-Was-Taken)
|
||||
|
||||
### Fixes
|
||||
- Fixed only few DoH provider is actually being used (Cloudflare, Google, AdGuard, and Quad9)
|
||||
|
|
|
@ -305,6 +305,7 @@ class SettingsAdvancedController : SettingsLegacyController() {
|
|||
context.toast(MR.strings.error_user_agent_string_invalid)
|
||||
return@onChange false
|
||||
}
|
||||
context.toast(MR.strings.requires_app_restart)
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue