MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / toggleVibra

Method toggleVibra

src/main/java/Client/Roster.java:1761–1769  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1759 }
1760
1761 public void toggleVibra() {
1762 // swap profiles
1763 int profile = cf.profile;
1764 cf.profile = (profile == AlertProfile.VIBRA) ? cf.lastProfile : AlertProfile.VIBRA;
1765 cf.lastProfile = profile;
1766
1767 updateMainBar();
1768 redraw(); // Need?
1769 }
1770
1771 public void changeMotoBacklightState() {
1772 if (!cf.ghostMotor) {

Callers 2

longKeyMethod · 0.95
doUserKeyActionMethod · 0.95

Calls 2

updateMainBarMethod · 0.95
redrawMethod · 0.45

Tested by

no test coverage detected