package Ġcom . vp aliy . medi ap layer . ui . settings Ċ Ċ import Ġcom . vp aliy . medi ap layer . domain . inter actor . Modify Interactor Ċ import Ġcom . vp aliy . medi ap layer . domain . inter actor . Preferences Interactor Ċ import Ġcom . vp aliy . medi ap layer . domain . model . Image Quality Ċ import Ġcom . vp aliy . medi ap layer . domain . model . Request Error Ċ import Ġcom . vp aliy . medi ap layer . domain . model . Track Type Ċ Ċ class ĠSettings Presenter ( ĊĠĠĠ Ġprivate Ġval Ġpreferences Interactor : ĠPreferences Interactor , ĊĠĠĠ Ġprivate Ġval Ġmodify Interactor : ĠModify Interactor , ĊĠĠĠ Ġprivate Ġval Ġview : ĠSettings Contract . View Ċ ) Ġ: ĠSettings Contract . Presenter Ġ{ ĊĠ Ġoverride Ġfun Ġclear Data () Ġ{ ĊĠĠĠ Ġmodify Interactor . clear All ( view :: show Data Cle ared , Ġthis :: handleError , ĠTrack Type . All ) ĊĠ Ġ} ĊĊĠ Ġprivate Ġfun Ġhandle Error ( error : ĠRequest Error ) Ġ{ ĊĠĠĠ Ġview . show Error () ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġchange Art Quality ( quality : ĠImage Quality ) Ġ{ ĊĠĠĠ Ġpreferences Interactor . save Image Quality ( quality ) ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġrequest Art Quality () Ġ{ ĊĠĠĠ Ġview . show Art Quality ( preferences Interactor . getImage Quality ()) ĊĠ Ġ} Ċ }