mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-26 21:54:45 +08:00
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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user