-
Notifications
You must be signed in to change notification settings - Fork 32
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 #86 from nitanmarcel/about_redesign
Design improvements
- Loading branch information
Showing
42 changed files
with
953 additions
and
472 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
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,19 @@ | ||
package com.micewine.emu.core | ||
|
||
sealed class HighlightState(val ordinal: Int) { | ||
data object HIGHLIGHT_SHORTCUTS : HighlightState(0) | ||
data object HIGHLIGHT_SETTINGS : HighlightState(1) | ||
data object HIGHLIGHT_FILES : HighlightState(2) | ||
data object HIGHLIGHT_DONE : HighlightState(3) | ||
|
||
|
||
companion object { | ||
const val HIGHLIGHT_PREFERENCE_KEY = "tutorial_state" | ||
fun fromOrdinal(int: Int?): HighlightState = when (int) { | ||
0 -> HIGHLIGHT_SHORTCUTS | ||
1 -> HIGHLIGHT_SETTINGS | ||
2 -> HIGHLIGHT_FILES | ||
else -> HIGHLIGHT_DONE | ||
} | ||
} | ||
} |
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
53 changes: 0 additions & 53 deletions
53
app/src/main/java/com/micewine/emu/fragments/AboutFragment.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.