-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added generic message with optional dialog for more information.
- Loading branch information
Showing
21 changed files
with
953 additions
and
638 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
168 changes: 0 additions & 168 deletions
168
mage/src/main/java/mil/nga/giat/mage/login/ServerUrlActivity.java
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
mage/src/main/java/mil/nga/giat/mage/login/ServerUrlActivity.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,33 @@ | ||
package mil.nga.giat.mage.login | ||
|
||
import android.content.Intent | ||
import android.os.Bundle | ||
import androidx.activity.compose.setContent | ||
import androidx.appcompat.app.AppCompatActivity | ||
import dagger.hilt.android.AndroidEntryPoint | ||
import mil.nga.giat.mage.ui.theme.MageTheme3 | ||
import mil.nga.giat.mage.ui.url.ServerUrlScreen | ||
|
||
@AndroidEntryPoint | ||
class ServerUrlActivity : AppCompatActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
|
||
setContent { | ||
MageTheme3 { | ||
ServerUrlScreen( | ||
onDone = { | ||
val intent = Intent(this, LoginActivity::class.java) | ||
startActivity(intent) | ||
finish() | ||
}, | ||
onCancel = { | ||
val intent = Intent(this, LoginActivity::class.java) | ||
startActivity(intent) | ||
finish() | ||
} | ||
) | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.