v.1.2.7 #37
@@ -177,7 +177,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
kIsWeb && (defaultTargetPlatform == TargetPlatform.android);
|
||||
final isWebIos = kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS);
|
||||
String btnText = "";
|
||||
IconData platformIcon;
|
||||
FaIconData platformIcon;
|
||||
if (isWebAndroid) {
|
||||
btnText = "Install MIH";
|
||||
platformIcon = FontAwesomeIcons.googlePlay;
|
||||
@@ -483,7 +483,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
FaIcon(
|
||||
Icon(
|
||||
Icons.store,
|
||||
color: MihColors.primary(),
|
||||
),
|
||||
@@ -649,7 +649,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
FaIcon(
|
||||
Icon(
|
||||
Icons.edit,
|
||||
color: MihColors.primary(),
|
||||
),
|
||||
|
||||
@@ -25,7 +25,7 @@ class MineTile extends StatelessWidget {
|
||||
|
||||
if (square.isOpened) {
|
||||
if (square.hasBomb) {
|
||||
return const Icon(FontAwesomeIcons.bomb, color: Colors.black);
|
||||
return const Icon(MihIcons.minesweeper, color: Colors.black);
|
||||
} else if (square.bombsAround > 0) {
|
||||
// Display bomb count
|
||||
return Center(
|
||||
|
||||
@@ -100,7 +100,7 @@ class _MihMineSweeperState extends State<MihMineSweeper> {
|
||||
|
||||
MihPackageTools getTools() {
|
||||
Map<Widget, void Function()?> temp = {};
|
||||
temp[const Icon(FontAwesomeIcons.bomb)] = () {
|
||||
temp[const Icon(MihIcons.minesweeper)] = () {
|
||||
context.read<MihMineSweeperProvider>().setToolIndex(0);
|
||||
};
|
||||
temp[const Icon(Icons.leaderboard_rounded)] = () {
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ class _MihMineSweeperLeaderBoardState extends State<MihMineSweeperLeaderBoard> {
|
||||
WidgetSpan(
|
||||
alignment: PlaceholderAlignment.middle,
|
||||
child: Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
size: 20,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
@@ -335,7 +335,7 @@ class _MineSweeperGameState extends State<MineSweeperGame> {
|
||||
children: [
|
||||
const SizedBox(height: 10),
|
||||
Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
color: MihColors.secondary(),
|
||||
size: 125,
|
||||
),
|
||||
|
||||
@@ -164,7 +164,7 @@ class _MihMineSweeperLeaderBoardState extends State<MyScoreBoard> {
|
||||
WidgetSpan(
|
||||
alignment: PlaceholderAlignment.middle,
|
||||
child: Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
size: 20,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
+4
-4
@@ -209,25 +209,25 @@ class _BuildFilesListState extends State<BuildFilesList> {
|
||||
color: MihColors.red(),
|
||||
);
|
||||
case ("jpeg"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("jpg"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("png"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("gif"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.orange(),
|
||||
|
||||
Reference in New Issue
Block a user