mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44: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
|
### Changes
|
||||||
- Enable 'Split Tall Images' by default (@Smol-Ame)
|
- Enable 'Split Tall Images' by default (@Smol-Ame)
|
||||||
- Minor visual adjustments
|
- Minor visual adjustments
|
||||||
|
- Tell user to restart the app when User-Agent is changed (@NGB-Was-Taken)
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Fixed only few DoH provider is actually being used (Cloudflare, Google, AdGuard, and Quad9)
|
- 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)
|
context.toast(MR.strings.error_user_agent_string_invalid)
|
||||||
return@onChange false
|
return@onChange false
|
||||||
}
|
}
|
||||||
|
context.toast(MR.strings.requires_app_restart)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue