# refactor\(mobile\): git sheets use uniwind platform variants instead of className ternaries · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/5c191ec31555e3fbe19b87ecc4b3f8c54c9ec2dc)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 5c191ec31555e3fbe19b87ecc4b3f8c54c9ec2dc

Requested commit: 5c191ec31555e3fbe19b87ecc4b3f8c54c9ec2dc

Commit: 5c191ec31555e3fbe19b87ecc4b3f8c54c9ec2dc

Tree: 8016e9a4feea9b3233e84585159ff9d0586e4b3d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(mobile): git sheets use uniwind platform variants instead of className ternaries

The mobile audit found hundreds of Platform.OS checks where Uniwind's
ios:/android: className variants already express the same thing. This
converts the inline Platform.OS === "android" ? "..." : "..." className
ternaries in the git sheet family (GitCommitSheet, GitBranchesSheet,
GitConfirmSheet, GitOverviewSheet, gitSheetComponents) to single class
strings with ios:/android: variants. Structural platform branches, style
objects, and icon-size props are unchanged.

apps/mobile Platform.OS occurrences drop from 385 to 336; the five files
now contain zero className ternaries and ~210 platform-variant utilities
in their place. Verified with targeted tsc, lint, feature tests, and a
Metro iOS export confirming every new variant class compiles.

```

## Parents

- [bed0b4cdad41408bb09b445a0a8f8ea0e5b62d1b](https://git.cafe/pingdotgg/t3code/commit/bed0b4cdad41408bb09b445a0a8f8ea0e5b62d1b?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/5c191ec31555e3fbe19b87ecc4b3f8c54c9ec2dc?format=markdown)
