-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from team-haribo/feature/36-publishing-outing-…
…current-situation 🔀 :: (#36) - publishing outing current situation
- Loading branch information
Showing
23 changed files
with
657 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
core/design-system/src/main/java/com/goms/design_system/util/formatTime.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.goms.design_system.util | ||
|
||
fun String.formatTime(): String { | ||
if (this.length >= 5) { | ||
return this.substring(0, 5) | ||
} | ||
return this | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M10,5H14C14,3.895 13.105,3 12,3C10.895,3 10,3.895 10,5ZM8.5,5C8.5,3.067 10.067,1.5 12,1.5C13.933,1.5 15.5,3.067 15.5,5H21.25C21.664,5 22,5.336 22,5.75C22,6.164 21.664,6.5 21.25,6.5H19.931L18.759,18.611C18.573,20.533 16.958,22 15.026,22H8.974C7.043,22 5.427,20.533 5.241,18.611L4.069,6.5H2.75C2.336,6.5 2,6.164 2,5.75C2,5.336 2.336,5 2.75,5H8.5ZM10.5,9.75C10.5,9.336 10.164,9 9.75,9C9.336,9 9,9.336 9,9.75V17.25C9,17.664 9.336,18 9.75,18C10.164,18 10.5,17.664 10.5,17.25V9.75ZM14.25,9C13.836,9 13.5,9.336 13.5,9.75V17.25C13.5,17.664 13.836,18 14.25,18C14.664,18 15,17.664 15,17.25V9.75C15,9.336 14.664,9 14.25,9Z" | ||
android:fillColor="#E43620"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M10,2.5C14.142,2.5 17.5,5.858 17.5,10C17.5,11.71 16.928,13.287 15.964,14.548L20.707,19.293C21.098,19.683 21.098,20.317 20.707,20.707C20.347,21.068 19.779,21.095 19.387,20.79L19.293,20.707L14.548,15.964C13.287,16.928 11.71,17.5 10,17.5C5.858,17.5 2.5,14.142 2.5,10C2.5,5.858 5.858,2.5 10,2.5ZM10,4.5C6.962,4.5 4.5,6.962 4.5,10C4.5,13.038 6.962,15.5 10,15.5C13.038,15.5 15.5,13.038 15.5,10C15.5,6.962 13.038,4.5 10,4.5Z" | ||
android:fillColor="#666666"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.goms.ui | ||
|
||
import com.goms.model.enum.Major | ||
|
||
fun Major.toText(): String { | ||
return when (this) { | ||
Major.SW_DEVELOP -> "SW개발" | ||
Major.SMART_IOT -> "IoT" | ||
Major.AI -> "AI" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.