@@ -127,10 +127,6 @@ impl Sandbox for ApplicationContext {
127127 }
128128 }
129129
130- for d in & diff {
131- println ! ( "{}" , & d) ;
132- }
133-
134130 self . differences = diff;
135131 }
136132 Message :: ThemeChanged ( d) => self . theme = d,
@@ -154,7 +150,7 @@ impl Sandbox for ApplicationContext {
154150 Some ( self . theme ) ,
155151 Message :: ThemeChanged ,
156152 )
157- . style ( self . theme ) ,
153+ . style ( self . theme ) ,
158154 )
159155 } ,
160156 ) ;
@@ -165,37 +161,37 @@ impl Sandbox for ApplicationContext {
165161 & self . first_file ,
166162 Message :: FirstFileInputChanged ,
167163 )
168- . padding ( 10 )
169- . size ( 20 )
170- . style ( self . theme ) ;
164+ . padding ( 10 )
165+ . size ( 20 )
166+ . style ( self . theme ) ;
171167
172168 let btn_select_first_file = Button :: new (
173169 & mut self . btn_select_first_file ,
174170 Text :: new ( "..." ) . horizontal_alignment ( alignment:: Horizontal :: Center ) ,
175171 )
176- . padding ( 10 )
177- . min_width ( 60 )
178- . on_press ( Message :: SelectFirstFilePressed )
179- . style ( self . theme ) ;
172+ . padding ( 10 )
173+ . min_width ( 60 )
174+ . on_press ( Message :: SelectFirstFilePressed )
175+ . style ( self . theme ) ;
180176
181177 let second_file_input = TextInput :: new (
182178 & mut self . second_file_input ,
183179 "/path/to/second/file.txt" ,
184180 & self . second_file ,
185181 Message :: SecondFileInputChanged ,
186182 )
187- . padding ( 10 )
188- . size ( 20 )
189- . style ( self . theme ) ;
183+ . padding ( 10 )
184+ . size ( 20 )
185+ . style ( self . theme ) ;
190186
191187 let btn_select_second_file = Button :: new (
192188 & mut self . btn_select_second_file ,
193189 Text :: new ( "..." ) . horizontal_alignment ( alignment:: Horizontal :: Center ) ,
194190 )
195- . padding ( 10 )
196- . min_width ( 60 )
197- . on_press ( Message :: SelectSecondFilePressed )
198- . style ( self . theme ) ;
191+ . padding ( 10 )
192+ . min_width ( 60 )
193+ . on_press ( Message :: SelectSecondFilePressed )
194+ . style ( self . theme ) ;
199195
200196 let btn_compare = Button :: new ( & mut self . btn_compare , Text :: new ( "Compare" ) )
201197 . padding ( 10 )
0 commit comments