on device settings just for some watch models

Hi together

Where do I define that!? I check the models before and if true, then enable ondevicesettings.

The memory for the ondevice is shared with background!? I get some background memory error if I implement the ondevice setting...

Which functions are necessary in the App? I have added the code in blue and a .mc sheet with

class MyBugSettingsMenu extends WatchUi.Menu2 {


And in the app.mc

 function getInitialView() {
  onSettingsChanged();
  return [new MyBugView(),new MyBugDelegate()];
 }
 
 function getSettingsView(){return [new MyBugSettingsMenu(),new MyBugSettingsMenuDelegate()];}
            

Thats it I believe, or?

Thank you