6fe57f4ec8
Previously, checkForUpdate returned upToDate after a rollback because the condition `next != null && current?.number != next.number` treated a null next patch as "up to date". After a rollback, the Rust updater correctly uninstalls the patch (next becomes null), but the app is still running the rolled-back patch (current is non-null). The simplified condition `current?.number != next?.number` correctly detects this mismatch and returns restartRequired. Fixes https://github.com/shorebirdtech/shorebird/issues/3206