File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,24 @@ public class EntriesTextManager
12
12
public EntriesTextManager ( )
13
13
{
14
14
this . InternalItem = new List < InternalItem > ( ) ;
15
- string line ;
15
+ string line ;
16
16
17
17
System . IO . StreamReader file =
18
18
new System . IO . StreamReader ( @"internal.txt" ) ;
19
19
while ( ( line = file . ReadLine ( ) ) != null )
20
20
{
21
21
InternalItem . Add ( this . EntriesToInternalItem ( line . Split ( "\t " ) ) ) ;
22
- }
22
+ }
23
23
}
24
24
25
-
26
25
public InternalItem EntriesToInternalItem ( string [ ] task )
27
26
{
28
27
string comment = task [ 4 ] . Trim ( ) ;
28
+ string activity = task [ 5 ] . Trim ( ) ;
29
29
string hour = task [ 3 ] . Replace ( "," , "." ) ;
30
30
string date = task [ 0 ] ;
31
31
var items = new InternalItem ( ) ;
32
+ items . Activity = activity ;
32
33
items . Comment = comment ;
33
34
items . Date = date ;
34
35
items . Time = hour ;
You can’t perform that action at this time.
0 commit comments