feat(update): add toast notifications for update failures

- Add toast error messages when version check fails
- Show user-friendly error notifications for download failures
- Display specific installation error messages with troubleshooting hints
- Improve logging from console.error to console.info for better categorization
This commit is contained in:
zimplexing
2025-08-13 18:58:32 +08:00
parent df8fae96ac
commit fc81de1728
4 changed files with 21 additions and 12 deletions

View File

@@ -53,11 +53,11 @@ export function UpdateSection() {
</StyledButton>
</View>
{UPDATE_CONFIG.AUTO_CHECK && (
{/* {UPDATE_CONFIG.AUTO_CHECK && (
<ThemedText style={styles.hint}>
自动检查更新已开启,每{UPDATE_CONFIG.CHECK_INTERVAL / (60 * 60 * 1000)}小时检查一次
</ThemedText>
)}
)} */}
</View>
);
}