Android: spaces => tabs
This commit is contained in:
parent
9b82dbd2cc
commit
f45bba820a
@ -47,7 +47,6 @@ import static com.multicraft.game.AdManager.initAd;
|
|||||||
import static com.multicraft.game.AdManager.setAdsCallback;
|
import static com.multicraft.game.AdManager.setAdsCallback;
|
||||||
import static com.multicraft.game.AdManager.startAd;
|
import static com.multicraft.game.AdManager.startAd;
|
||||||
import static com.multicraft.game.AdManager.stopAd;
|
import static com.multicraft.game.AdManager.stopAd;
|
||||||
import static com.multicraft.game.helpers.PreferencesHelper.TAG_BUILD_NUMBER;
|
|
||||||
import static com.multicraft.game.helpers.PreferencesHelper.getInstance;
|
import static com.multicraft.game.helpers.PreferencesHelper.getInstance;
|
||||||
import static com.multicraft.game.helpers.Utilities.makeFullScreen;
|
import static com.multicraft.game.helpers.Utilities.makeFullScreen;
|
||||||
|
|
||||||
|
@ -76,11 +76,7 @@ public class PermissionHelper {
|
|||||||
.setPermissions(WRITE_EXTERNAL_STORAGE)
|
.setPermissions(WRITE_EXTERNAL_STORAGE)
|
||||||
.request()
|
.request()
|
||||||
.subscribe(tedPermissionResult -> {
|
.subscribe(tedPermissionResult -> {
|
||||||
if (tedPermissionResult.isGranted()) {
|
listener.onEvent(tedPermissionResult.isGranted());
|
||||||
listener.onEvent(true);
|
|
||||||
} else {
|
|
||||||
listener.onEvent(false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,11 +89,7 @@ public class PermissionHelper {
|
|||||||
.setPermissions(WRITE_EXTERNAL_STORAGE)
|
.setPermissions(WRITE_EXTERNAL_STORAGE)
|
||||||
.request()
|
.request()
|
||||||
.subscribe(tedPermissionResult -> {
|
.subscribe(tedPermissionResult -> {
|
||||||
if (tedPermissionResult.isGranted()) {
|
listener.onEvent(tedPermissionResult.isGranted());
|
||||||
listener.onEvent(true);
|
|
||||||
} else {
|
|
||||||
listener.onEvent(false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 47 KiB |
@ -13,6 +13,7 @@
|
|||||||
<string name="notification_description">Less than 1 minute…</string>
|
<string name="notification_description">Less than 1 minute…</string>
|
||||||
<string name="restart">Unexpected issue, the game will be restarted automatically</string>
|
<string name="restart">Unexpected issue, the game will be restarted automatically</string>
|
||||||
<string name="no_space">No space left for game files, please free space in the memory</string>
|
<string name="no_space">No space left for game files, please free space in the memory</string>
|
||||||
|
<string name="ok" translatable="false">OK</string>
|
||||||
|
|
||||||
<!-- permission block -->
|
<!-- permission block -->
|
||||||
<string name="explain">Storage permissions is necessary to unpack textures and game data.</string>
|
<string name="explain">Storage permissions is necessary to unpack textures and game data.</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user