chore: Show toast for app restart when User-Agent is changed

This commit is contained in:
NGB-Was-Taken 2024-09-09 08:07:17 +07:00 committed by Ahmad Ansori Palembani
parent 6e585fd142
commit 353a002eb5
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 2 additions and 0 deletions

View file

@ -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)

View file

@ -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
}
}